Assunto: Re: R: properties files
Simone Chiaretta wrote:
I store properties in my the app WEB-INF/web.xml
context-param
param-namesmtpServer/param-name
param-valuemy.smtpserver.net/param-value
descriptionSMTP server to be used to send email from
Jose Moreira wrote:
thanks :) i noticed that the servlet context isnt available also ...
but if i put the properties file inside the WEB-INF/lib, what's it's path ?
If the properties file is in WEB-INF/lib, then it must be in a JAR file.
The technique for accessing a properties file from a
Erik Price wrote:
However, it must be possible because I believe log4j uses properties
files from JAR files in webapps. So, you might want to ask around there
or check the log4j source code. Please let us know what you find!
Responding to my own post, I took a look at the Log4J source and
Excuse me for the question
but cannot u store directly the properties (strings, integer and so on) in
the web.xml for the application or the server.xml under Resource
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable
I store properties in my the app WEB-INF/web.xml
context-param
param-namesmtpServer/param-name
param-valuemy.smtpserver.net/param-value
descriptionSMTP server to be used to send email from forms in the
website/description
Simone Chiaretta wrote:
I store properties in my the app WEB-INF/web.xml
context-param
param-namesmtpServer/param-name
param-valuemy.smtpserver.net/param-value
descriptionSMTP server to be used to send email from forms in the