> Yoav wrote:
>
> Hiya,
>
> I have few jsp V 0.9.2 codes here that use the <script runnat=server>... </script>
>so it could ovveride the
> init(servletconfig) method of the "later-to-be-a-servlet". Also there's lots of
>servlet-wide varaibles defined in that
> block.
>
> Now, we got here the JavaWebServer 2.0 that doesn't support none of that! - I
>browsed through the supplied jsp 1.0
> docs, but found no answer to that problem.
You can use a JSP declaration (<%! declaration %>) to override the jspInit() method
instead of init() and, even though I don't recommend it, declare servlet-wide
variables.
See the JSP 1.0 or 1.1 specification, http://java.sun.com/products/jsp for details.
--
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