废话少说,直接代码说话,这里用的是Struts1.2
首先是web.xml文件
然后是前台登录界面login.jsp
登录失败时显示的fail.jsp页面
登录成功时显示的success.jsp页面
然后是struts1.x的核心配置文件struts-config.xml
用到的struts1.x中的ActionForm类
用到的struts1.x中的Action类
最后是用到的资源文件ApplicationResources.properties
废话少说,直接代码说话,这里用的是Struts1.2
首先是web.xml文件
然后是前台登录界面login.jsp
登录失败时显示的fail.jsp页面
登录成功时显示的success.jsp页面
然后是struts1.x的核心配置文件struts-config.xml
用到的struts1.x中的ActionForm类
用到的struts1.x中的Action类
最后是用到的资源文件ApplicationResources.properties