wood burning stoves*
The moose likes JSP and the fly likes i need an property file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "i need an property file" Watch "i need an property file" New topic
Author

i need an property file

Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

I need a PROPERTIES file... and need a way to access it in my JSP page...
[ June 02, 2008: Message edited by: Bear Bibeault ]

Never try to be a hard-worker. Be a smart-worker.
My Blog
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Here are two ways to load them:
http://wiki.apache.org/tomcat/HowTo#head-45c3314139cb900ddd43dde2ff671532e6e844bc


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Consider Paul's rocket mass heater.
 
subject: i need an property file