`
hjs482
  • 浏览: 47058 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
在web.xml中增加如下配置: <jsp-config>         <jsp-property-group>             <description>                   Special property group for JSP Configuration JSP example.             </description>             <display-name>JSPConfiguration</display-name>             <ur ...
字符串比较,发现了两种写法 <s:set name="country_current" value="customervo.country" /> <s:if test="#country_current=='US'"><s:text name="%{getText('region.us')}"/></s:if> 或者: <s:iftest="%{customervo.country=='US'}">    <s:textname= ...
---------数学函数 1.绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) value from dual 3.取整(小) S:select floor(-1.001) value O:select floor(-1.001) value from dual 4.取整(截取) S:select cast(-1.002 as int) value O:select trunc(- ...
转载自:http://www.blogjava.net/beansoft/
以下为转载 Struts1框架提供了DispatchAction,从而允许一个Action内包含多个处理逻辑。例如对于同一个表单,当用户通过不同的请求按钮提交表单时,应该使用Action的不同方法来处理请求。 Struts2同样提供了这种处理多个请求的Action,看下面的JSP页面。 上面的JSP页面包含两个提交按钮,但两个提交按钮分别提交给Action的不同方法处理,其中“登陆”按钮希望使用登陆逻辑来处理请求,而“注册”按钮则希望使用注册逻辑来处理请求。 此时,可以采用DMI(Dynamic Method Invocation,动态方法)调用来处理这种请求,动态方法调用是指表单元 ...
精通Spring 2.x:企业应用开发详解
陈雄华:http://tech.it168.com/oldarticle/2007-05-22/200705221448921.shtml
引用一篇文章:http://www.jdon.com/AOPdesign/jdon-aop.htm
Global site tag (gtag.js) - Google Analytics