This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to .properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "how to .properties file" Watch "how to .properties file" New topic
Author

how to .properties file

vinodheee kumar
Greenhorn

Joined: Apr 26, 2006
Posts: 9
How i can .properties file in servlet
(ie) RESOURCE BUNDLE
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
If you are having it already then you can get it by using getResourceAsStream() method.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This HOWTO lists 2 possible ways to do it:
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to .properties file
 
Similar Threads
Replace with Properties
How to cal properties file in jsp?
where to place .properties file
How to create .properties file in NETBeans IDE 5.5.1
PropertyResourceBundle