Providing initialization parameters to stand-alone jsps is, in my
experience, implementation dependent,
if provided at all.  If the JSP is part of a WebApplication (WAR), then the
web.xml file provides a convenient
route to provide initialization parameters - these are provided exactly the
same way that init parameters are
provided for a servlet.

Good luck,
-AMT

> -----Original Message-----
> From: Sergey A. Vorobiev [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 01, 2000 5:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Initialization Parameters
>
>
> Narayana G V R L wrote:
> >
> > Hi All,
> >
> > Can we have the initialization parameters for JSPs??
> Something similar
> > to init params in Servlets.
> >
> > Environment: Netscape Application Server 4.1, JSPs.
> >
> > Thanks in advance,
> > Narayana.
>
> Hmm, I didn't quite understand the question, maybe because of my poor
> English.
>
> When you use a bean in your pages, you can pass it a parameter:
> <% MyBean.parameterOne = realParameter; %>
>
> Does it help?
>
> --
> Regards,
> Sergey Vorobiev
>
> ==============================================================
> =============
> 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
>

===========================================================================
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