I have a generic database class that is used by a bean from my JSP page.

I would like my database class to get the location of its property file from
WEB.XML

Is there any way to get the initParameters() from inside my database class
without having to pass it in through the bean?

Is there some way to do this with static fields or introspection (I haven't
done anything very complex with beans yet, just using from JSP)

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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