Hi,

I have 2 problems and would appreciate your help.

I've set reloadable=true in server.xml:

    <DefaultContext reloadable="true"/>

 but it doesn't seem to work,
I have to stop and start tomcat for class updates to take affect.
Also every time I start Tomcat my classpath changes and I can no longer
compile my servlets,
because my classpath no longer points to servlet.jar.

I'd appreciate your suggestions.

Paul



-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
Michael Weller
Sent: Wednesday, March 13, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: reading web.xml from non servlet class


hi!
why do you want to read those values there?
can't you read the values in init() of one your servlets, put them in a
HashTable or sth., and when you invoke a method in one of your utility
classes you simply pass that HashTable along?

-mw

At 14:59 13.03.2002 -0700, you wrote:
>
>I want to read few values like jdbcdriver class, database url etc. from a
>helper/utility class which is not a servlet. Is it possible to put these
>values in web.xml and read it from a non servlet class? If not what might
>be best way to do it?
>
>
>Thanks,

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to