摘要:
struts.xml文件结构 struts.xml文件是整个Struts2框架的核心。 struts.xml文件内定义了Struts2的系列Action,定义Action时,指定该Action的实现类,并定义该Action处理结果与视图资源之间的映射关系。 /example/HelloWorld.jsp /example/Login.jsp Menu /example/{1}.jsp */example/Login.jsp 以上表示当execute方法返回input的字符串时,跳转到/example/Login.jsp。定义rusult元素时,可以指定两个属性:type... 阅读全文
posted @ 2013-06-27 22:46
阳光橱窗
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号