• Post Reply Bookmark Topic Watch Topic
  • New Topic

Placement of properties file?

 
Zaid Ansari
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on localization for 2 languaes en and fr.
my web.xml contains following
<context-param>
<param-name>
javax.servlet.jsp.jstl.fmt.localizationContext
</param-name>
<param-value>
Application
</param-value>
</context-param>

and my poroperties files(Application_en.properties & Application_fr.properties ) are placed at WEB-INF/classes folder.

Every thing was working fine but i made an Admin Secstion from where I want to mange that properties file. but as soon as i update my property file using my Admin Section ServletContrext gets DESTROYED. i thing thins is because changes are made in WEB-INF folder.
My Question is: Is there anyway i can place my properties file somewhere else e.g along with my JSPs.
Regards,
Zaid Ansari
SCJP,SCWCD Posts: 2 | Registered: Dec 2003 | IP: Logged
Zaid Ansari
[ August 17, 2007: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!