Sorry, I don't know how to do this for a bean. Perhaps someone else who
works with beans could help.
Sorry about that.
-Original Message-
From: Adam Pfeiffer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:54 AM
To: Tomcat Users List
Subject: RE: How to load properties
I am still a bit confused. I do not know what the servlet-name and servlet-class are
referring
to?
The Jsp Page it called TopNav.jsp and the bean is called PictureBrowserBean. I want
to have the
bean PictureBrowserBean be able to access the extra parameter. In this case, the
location of the
You can do something like this in your web.xml
somename
someclass
param1
somevalue
You can then call getServletConfig().getInitParameter("param1") from the
init method of the somename servlet.
Hope this helps,
Subir
-Original Message-
From: Adam Pfeiffer [mailto:[EMAI