Package org.eweb4j.mvc.action

Examples of org.eweb4j.mvc.action.ActionProp


    // 当前执行Action的配置对象,保存着个跟该Action相关的配置信息
    ActionConfigBean acb = context.getMvcBean();

    // 当前执行Action的Properties读写对象
    // start.xml中<file ID=Action完整类名的所对应的那个配置文件
    ActionProp prop = context.getActionProp();
    prop.read("key");
    prop.write("key", "value");

    // url中的变量参数
    // users/{uid}/edit
    Map<String, String[]> ppm = context.getPathParamMap();
    ppm.get("uid");
View Full Code Here

TOP

Related Classes of org.eweb4j.mvc.action.ActionProp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.