`
- 浏览:
10403 次
- 性别:
- 来自:
北京
-
shop++使用的是struts2的零配置方式
net.shopxx.action.shop.ABC类中的list()方法,对应的访问URL就是
http://域名/shop/ABC!list.action
如果list()方法return "ok";
则对应跳转到/WEB-INF/template/shop/ABC_ok.ftl
struts2的跳转与包名、类名、方法名有关!
查看位置:在/shopxx/WebRoot/WEB-INF/lib/struts2-convention-plugin-2.1.8.jar包中的struts-plugin.xml
默认值: <constant name="struts.convention.relative.result.types" value="dispatcher,velocity,freemarker"/>
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
STRUTS2:零配置插件CodeBehind
Spring4.0+Hibernate4.0+Struts2.3整合案例:实现增删改查。 ===================== application.xml: xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=...
Struts2中使用annotation实现零配置
默认包路径包含action,actions,struts,struts2的所有包都会被struts作为含有Action类的路径来搜索。你可以通过设置struts.convention.package.locators属性来修改这个配置。如: <constant name="struts.convention....
有关Struts2+Spring+Hibernate和Struts2+Spring+Ibatis的整合实例demo 原创,完全基于eclipse开发
简述STRUTS2_Convention零配置
maven构建项目,简单的struts2、spring、mybatis结构实现,页面展示用的easyui
compass+ibatis+spring+struts2整合开发compass+ibatis+spring+struts2整合开发compass+ibatis+spring+struts2整合开发compass+ibatis+spring+struts2整合开发
此附件是:Spring3.1+Hibernate4.0+Struts2.3.1 使用annotation的零配置项目.部分功能已实现.虽然已经实现了功能.但有些原理,还待大家一起研讨.
struts2+spring+Ibatis框架包
CXF+spring+struts实现WebService
struts2+spring+springstruts2+spring+springstruts2+spring+spring
struts2+spring+hibernate 配置文件struts2+spring+hibernate 配置文件
ExtJS4+Accordion+SERVLET/STRUTS2+JSON+Ext.tree.Panel实例
采用Struts2注解,视图层采用FreeMarker的一个示例项目。 欢迎下载学习。
NULL 博文链接:https://username2.iteye.com/blog/1817573
自己写的一个框架例子,公司也在用,框架是struts2+hibernate+freemarker
STRUTS2零配置.docSTRUTS2零配置.docSTRUTS2零配置.doc
JAR包+sql+oracle+dwr+jdom+ibatis+struts2