action 同样用 request.setAttribute("boxType",boxType);返回的值
jsp 也是返回的同一个jsp
action中两个方法
add 方法返回的值用request.getParameter 能取到
edit 方法返回的值用request.getParameter 不能取到(null),而用request.getAttribute 可以取到jsprequestwebjavaaction
jsp 也是返回的同一个jsp
action中两个方法
add 方法返回的值用request.getParameter 能取到
edit 方法返回的值用request.getParameter 不能取到(null),而用request.getAttribute 可以取到jsprequestwebjavaaction
解决方案 »
- ids for this class must be manually assigned before calling save(): org.hiberna
- html:select默认值
- tomact中webapps文件夹的问题????
- javaBean问题
- 图片显示不了???
- 配置TOMCAT欲开通其SSL功能时总是出错,求高手解答
- 为什么throw new Exception("用户密码错误,请重新登陆。");在tomcat 5 中无法运行?
- 如果在jsp页面中调用一个javabean的时候,javabean的构造函数需要参数,怎么办?
- 出错了,帮忙看看
- 怎么调用构造函数里带参数的BEAN?着急!!!!!!!!!!!!!!!!!!!!1
- struts2值栈和ActionContext有一点不明白
- 在spring+mybatis 里用timer定时器出错,请帮忙看一下!
request.getParameter jsp————jsp
request.getAttribute action—————jsp