struts
hysen31
keep it simple and short
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
struts (一)
1.jar 2、web.xml Struts Blank struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter config struts-default.xml,struts-plugin.xml,.原创 2015-07-13 00:02:24 · 364 阅读 · 0 评论 -
struts (二)
1.运行流程 client --->tomcat ---> webapp -->web.xml --->filter -->struts.xml ---->namespace ---> acion-->result --.>反馈client 把请求和展现分开 可扩展 灵活 --->设计模式MVC原创 2015-07-14 22:56:49 · 408 阅读 · 0 评论 -
struts (三)
1、 /hello.jsp . 2、 action实现得方式 a.普通java类 class Test { public String execute() { return "success" } } b.实现action接口 class Test impliment原创 2015-07-15 23:10:23 · 419 阅读 · 0 评论 -
struts (四) path DMI
1、path 常使用绝对路径 path = request.getContextPath(); basepath = request.getscheme+"://"+request.getServerName+":"+request.getServerPort+path "/> 2、动态方法 test.action!原创 2015-07-16 23:57:27 · 386 阅读 · 0 评论 -
struts (七) 域模型
1、域模型获取参数 domain Model 2、 vo value object 值对象 do data object 数据对象 dto data transfer object 数据传输对象 3、 user = new User(userDTO) 4、模型驱动 class原创 2015-07-22 23:00:36 · 525 阅读 · 0 评论 -
struts2 使用注解方式配置
1、导入convention 包 2、java: package com.struts.base.hello; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.List; import javax.s原创 2015-12-08 23:36:35 · 754 阅读 · 0 评论
分享