Kevin,

I tried request.getAttribute("foo") but it still doesn't work.  The return
object is always null.

Thank you,

 -----Original Message-----
From:   Kevin Duffey [mailto:[EMAIL PROTECTED]]
Sent:   Monday, April 03, 2000 12:00 PM
To:     [EMAIL PROTECTED]
Subject:        Re: param

In Servlet 2.2 spec I think you have to use request.getAttribute(), which
works like request.getParameter() except it returns an Object instead of a
String, which you will have to typecase to String. Not quite sure about this
yet..still getting my feet wet.


1. In <jsp:include> and <jsp:forward>, I can set the param, names and
values.  How can I retrieve them in the included or forwarded jsp page?  I
tried to use request.getParameter("foo") and apparently that is not working.
Please let me know if I completely misunderstand.

2. Does this feature support by JRun and WebSphere (they both support JSP
1.0)?

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to