I found that JSP 0.92 can call servlet by add these code:
<%
getServletContext().getRequestDispatcher("testAP/testServlet").include(reque
st,response);
%>
Our application server is NAS4.0,
and it does work both "include" and "forward".
But we need more function to pass parameters to servlet in JSP.
It works just as shtml do:
<servlet code="testServlet">
<param name=para01 value="first">
<param name=para02 value="second">
<param name=para03 value="third">
</servlet>
this kind of servlets only use
req.getParameter("para01");
or
req.getParameterValues("para01");
to get parameters, we don't suppose to use
req.getAttribute("para01"), so how can i set the parameters
in JSP and let servlet can get these parameters.
Have anyone any experience or suggestion,
any help would be appreciated. Thanks!
Steven
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html