访问/struts/form/hello.jsp页面
提交表单后数据提交到 /struts/hello.do
Struts截获*.do的请求
查找struts-config.xml,hello.do对应的HelloForm和HelloAction
将表单封装为HelloForm,并反射调用HelloAction中的execute()
forward到/form/helloSuccess.jsp
结束
访问/struts/form/hello.jsp页面
提交表单后数据提交到 /struts/hello.do
Struts截获*.do的请求
查找struts-config.xml,hello.do对应的HelloForm和HelloAction
将表单封装为HelloForm,并反射调用HelloAction中的execute()
forward到/form/helloSuccess.jsp
结束