aspose file tools*
The moose likes Servlets and the fly likes WEB-INF directory is the correct place to place Application.properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "WEB-INF directory is the correct place to place Application.properties file" Watch "WEB-INF directory is the correct place to place Application.properties file" New topic
Author

WEB-INF directory is the correct place to place Application.properties file

sai prasanna
Ranch Hand

Joined: May 02, 2005
Posts: 167
hi all,

WEB-INF directory is the correct place to place Application.properties file

thanks in advance
saiprasannna
Eduardo Dela Rosa
Greenhorn

Joined: Apr 15, 2004
Posts: 25
Hi,

WEB-INF/classes folder would be the appropriate place to put it. After all,
that would serve as the root directory for your classpath.

HTH.


Eduardo dela Rosa<br />SCJP 1.4
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026

WEB-INF/classes folder would be the appropriate place to put it.


Along with appropriate package directory structure.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Manikandan Jayaraman
Ranch Hand

Joined: Sep 15, 2004
Posts: 230
Yes Vishnu. You are right ... and in case of struts, ApplicationResources.properties can also reside in the same folder where we can configure all the messages that appear in our web pages.

This supports a good internationalization extension.


Regards,<br />Mani<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (94%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WEB-INF directory is the correct place to place Application.properties file
 
Similar Threads
Exception running struts
FileNotFoundException with specifying Properties file
unusual exception with properties file path --- please help
Exception with specifying properties file path in application
help me with specify properties file please