struts
hysen31
keep it simple and short
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
struts (一)
1.jar2、web.xml Struts Blank struts2org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterconfigstruts-default.xml,struts-plugin.xml,.原创 2015-07-13 00:02:24 · 365 阅读 · 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 Model2、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 评论
分享