struts里有个ActionServlet,然后这个东西去读取你配置的struts-config.xml,然后在里边找Action,然后执行Action的execute()方法,然后把返回的东西返回去
文章标签 软件设计--------构架设计 struts xml javascript 文章分类 代码人生
struts里有个ActionServlet,然后这个东西去读取你配置的struts-config.xml,然后在里边找Action,然后执行Action的execute()方法,然后把返回的东西返回去
上一篇:解决canvas画图模糊的问题
下一篇:如何架设Git服务器
action
[code="java"]
在struts.xml中配置对action配置<?xml version="1.0" encoding="UTF-8
struts2.0框架提供的session注入方法注入的是Map类型的session。如果要使用httpsession,可以考虑这个方法。
控制器即,mvc模型的控制器模型,用于接收数据,传递给视图层,和模型层 默认使用execute方法查看相关接
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M