Forums Register Login

Properties file

+Pie Number of slices to send: Send
Hi all,
In my web-app,i wanna use a .PROPERTIES file in conjunction with ResourceBundle for storing some customisable details.
i hav placed this .PROPERTIES file in WEB-INF directory.
but i cant able to use the properties file inside my JSP file.
how can i solve this?.i think it's a common problom.any settings in Tomcat's configuration file?.if so,plz tell me the solution.
all your reply's will be very helpfull.
+Pie Number of slices to send: Send
I am using Tomcat4.1 + JSP
+Pie Number of slices to send: Send
It is a path problem. Just put the .property file beneath
/WEB-INF/classes, then your jsp files can find it.
Dan
+Pie Number of slices to send: Send
Thanks Danny,really helped.
Hot dog! An advertiser loves us THIS much:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1375 times.
Similar Threads
Cant find resource file inside tomcat
Newbie -Struts - Exception
Where to put JSTL .jar files?
ClassNotFoundException for LabelValueBean
How put a Tomcat 7 app folder outside webapps (OS X)?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:12:27.