使用request.setAttribute(String, Object)
方法把要传的东西放进去,然后到你的jsp或者servlet或者是另外一个action中,使用request.getAttribute(String)的方式得到你的内容
方法把要传的东西放进去,然后到你的jsp或者servlet或者是另外一个action中,使用request.getAttribute(String)的方式得到你的内容
解决方案 »
- 关于数据库连接池
- 求解为什么ajax没有反应 错在哪了?
- ssh中cookie response.add()添加过程出现空指针问题
- struts method 问题
- resin中正常运行的工程,在tomcat下无法启动
- org.hibernate.exception.ConstraintViolationException: could not insert: [com.crownsoft.qsm.Teacher],这是什么错误?
- 困扰好久的问题啊,关于xdoclet,谁帮帮我
- Struts1.1中SwitchAction的疑问(在线等待................)
- 大家来讨论一下关于cmp和bmp共同使用时关于性能和如何实现的问题!
- 求助!SSH分页显示的每页数据都一样!!
- 请问哪里有petstore的设计文档?而不是使用、安装配置的文档?100分
- java 中如何调用 pl/sql中的function
ActionForward f = mapping.findForward("fw");
String path = f.getPath();
ActionForward forward = new ActionForward(path + "&id=1");
return forward;