有一道题目是这样:
The index.jsp forwards the request to another JSP file called middle.jsp. Before forwarding, it should add another String type parameter called myparameter with value "Passion!" to the request object. The middle.jsp then includes the response.jsp. The response.jsp should display the value of the myparameter along with name and hobby.
不太明白forwards the request是什么意思。指教!谢谢!
The index.jsp forwards the request to another JSP file called middle.jsp. Before forwarding, it should add another String type parameter called myparameter with value "Passion!" to the request object. The middle.jsp then includes the response.jsp. The response.jsp should display the value of the myparameter along with name and hobby.
不太明白forwards the request是什么意思。指教!谢谢!
解决方案 »
- JSP+Servlet+JavaBean中,Servlet的使用方法
- svn登陆时它出现:Authorization failed
- java ssh框架中如何用Mysql接入数据啊
- 框架结构中的页面跳转返回登陆页面问题
- chinaren页面中的托拽是如何实现的?
- ------如何截取文本框中的值到一个数的小数点后两位,如:234.5678 ,截取结果就是234.57-------
- JSF中Bean生成组件Button.setAction()要跟什么参数?
- 很正点的jsp论坛呢!~~~~~~~~~~~~~
- 欢迎大家讨论:怎样在JSP中解决批量打印?
- 高分请教WIN2000配置JSP服务器的问题!
- response.sendRedirect("register_success.jsp");为什么转不过去
- webservice工程+ssh 报NoSuchMethodError
其中,请求中包含了myparameter 属性,值为Passion。
可以用request。getParameter ()得到。