Re: System properties

John Arockiaraj <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi,

AFAIK, you can not use web.xml to define system properties for a servlet.
However, you can define using your web container's specific way. Please
refer to your container's docs.

But, you have another choice if you want to define parameters pertaining
to your servlet or your web application, you can do so using <init-param>
or <context-param> in your web.xml

HTH
John

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[email protected]]On Behalf Of James
Smith
Sent: Friday, May 23, 2003 4:54 AM
To: [email protected]
Subject: System properties


Hi

Can I define system properties to be used in a servlet using the web.xml
file of a container??

Thanx

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.