richard hargrove wrote:
>
> Is it possible to duplicate the generalized functionality of the <SERVLET> tag
> supported in JSp 0.92 in JSP 1.0? The <jsp:include> action is close, but it
> doesn't allow you to change the request parameters. You can initialize a bean of
> appropriate scope in the .jsp with the new parameter values and access it in the
> included servlet, but this technique appears to have synchonization problems.
>
> Does anyone have any insights into this problem?
That's as close as you get in JSP 1.0. In JSP 1.1 there are ways to pass
parameters to the included servlet (as a query string on the page URI or
using <jsp:param> actions).
But you may also like to analyze your design and see if the included
servlets really need to be servlets at all. A servlet is not meant to be
a general purpose component, it's role in life is to process requests.
You may want to see if it's better to redesign your included servlets into
JavaBeans or utility classes (works in JSP 1.0) or custom actions (works
in JSP 1.1).
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
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