随笔分类 - SSH综合技术
摘要:1、创建Web项目,并导入struts框架所需要的jar包.2、从struts 框架包中 复制struts-config.xml 修改 代码如下: 3、配置web.xml . ActionServlet org.apache.struts.actio...
阅读全文
摘要:1、写一个注册页面,把请求交给 struts处理 用户名: 密码: 邮箱: 2、导入struts开发包,并在web.xml文件配置struts(ActionServlet)处理所有.do请求 ActionServlet org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 2 ActionServlet *.do 3、在web-inf目录中加入struts的配置文件:struts-config.xml,并配置struts收到请求后找RegisterAction处理,并配置在找Regis...
阅读全文
浙公网安备 33010602011771号