`

关于struts1和struts2的ActionForm问题

 
阅读更多
都知道struts1和struts2变化很大,在struts1中这样写的一个action
public class FileForm extends ActionForm{...}
但是struts2中没有ActionForm,这种在struts2中该如何写呢?继承什么?ActionSupport吗?
分享到:
评论

相关推荐

    Struts Hibernate Spring 集成开发宝典 actionform

    Struts Hibernate Spring 集成开发宝典 actionform 有研究或探讨或开源的请加群:37424970 或联系本人MSN或邮箱:zhuseahui@yahoo.com.cn

    struts1使用actionform实现表单验证

    struts1使用actionform实现表单验证,表单验证失败追加信息。

    Struts中不同的Action和ActionForm组合.rar

    Struts中不同的Action和ActionForm组合.rar

    struts 视频 struts视频 actionform

    struts 视频 struts视频 actionform

    struts中配置动态ActionForm

    最近自学java中的框架-struts写了一些小例子,这都是很经典的程序,如果大家瞧得起要下载去看看,顺便给俺找找不足的地方。我的qq 821865130 email qingtian_hechen@163.com 希望大家能多多给我帮助。在此谢谢各位!...

    Struts_学习笔记之ActionForm

    Struts_学习笔记之ActionForm,简单配置即可达到效果

    struts中ActionForm的validate方法使用小得

    struts提供了标签来显示整个ActionErrors的错误信息。但要在struts-config.xml中设置<action ...

    struts中静态ActionForm基本验证

    主要是actionForm的基本验证,重写validate方法,返回actionErrors,然后根据资源文件显示错误。 这是一个demo例子,直接导入eclispe中即可。 并且这部分内容会在相应的博客中介绍,稍后会更新博客。

    Struts2教程

    Struts2 Struts2 Struts2 教程 1 1 1 :第一个 Struts2 Struts2 Struts2 程序 在本系列教程中我们将学习到 Struts2 的各种技术。在本教程中使用的工具和程序库的版本 如下: 开发工具: MyEclipse6 Web 服务器: ...

    struts2配置详解

    从 Struts1 升级到 Struts2: 1、Struts1 里使用 ActionServlet 作为控制器; Struts2 使用了一个过滤器作为控制器 2、Struts1 中每个 HTML 表单都对应一个 ActionForm 实例. Struts2 中, HTML 表单将被直接映射到一个...

    struts1架构登录代码

    使用myeclipse的struts架构登录 登录例示代码actionForm和action

    Struts高级开发_动态ActionForm.avi

    该avi很好的讲解动态actionForm,通过练习可以理解它的运行过程

    Struts2 in action中文版

    第1章 Struts 2:现代Web框架 2 1.1 Web应用程序:快速学习 2 1.1.1 构建Web应用程序 2 1.1.2 基础技术简介 3 1.1.3 深入研究 6 1.2 Web应用程序框架 7 1.2.1 什么是框架 7 1.2.2 为什么使用框架 8 1.3 Struts 2框架...

    struts1 tutorial

    2.Installation of Struts 3.The First Try: Simple JSP 4.Second Try: Struts For Internationalisation 5.Struts for Forms 6.Struts: Introducing the ActionForm 7.A better way to seperate Book ...

    POI导入导出EXCEL文件.(struts 1.x and struts2.x).doc

    struts1.x的例子,struts2.x可以参考自己修改 1.action的写法 import java.io.*; import java.sql.*; import java.util.ArrayList; import javax.servlet.http.HttpServletRequest; import javax.servlet....

    struts的教程.doc

    Struts的概念和体系结构 5 Struts的与Web App的关系 5 Struts的体系结构 5 从视图角度(View) 6 从模型角度(Model) 6 从控制器角度(Controller) 6 Struts的基本组件包 6 Struts framework的工作原理和...

    struts1 用户登录(包含验证)

    使用struts1框架实现用户登录,那么就需要新建两个类,比如:LoginForm、LoginAction继承ActionForm、Action,配置struts-config.xml配置文件

    [2]你所不了解的struts1_actionform变得更加灵活

    NULL 博文链接:https://angelnight.iteye.com/blog/551378

    Struts简介 什么是Struts Struts基本运作流程

    Struts简介 什么是Struts Struts基本运作流程 ActionMapping类 Action类 ActionForm类 ActionError与ActionMessage 协同开发 模块化程序 Struts异常处理 Struts国际化支持 PlugIn接口 等等

    Struts2框架ActionForm自动填充表单

    代码完整,使用struta2做的自动表单提交功能。具有良好的后期维护性

Global site tag (gtag.js) - Google Analytics