struts1框架(1)

Struts1知识点


struts1框架(1)
 
为什么使用struts1

struts1框架(1)
struts1框架(1)
struts1框架(1)
struts1框架(1)
 
B/S结构

struts1框架(1)
 

Struts1搭建步骤

整体步骤

struts1框架(1)

搭建环境

struts1框架(1)

Web.xml

struts1框架(1)
 
建立actionform

struts1框架(1)Form-beans的配置

struts1框架(1)
 
开发action

struts1框架(1)
struts1框架(1)

建立actionmapping配置

ActionPathjsp页面请求的路径,type是对应的acton处理类,nameform-beanname;

Forwardname是跳转页面key,path是页面具体的路径。


struts1框架(1)

login.jsp

struts1框架(1)