on 04-21-2005 1:01 PM
Hi all,
I have a Test Application which consists of a servlet.
This servlet tries to read contents of a property file called myprops.properties with ResourceBundle
Dir Structure :-
testapp
- WEB-INF |
- classes
myprops.properties
MyServlet.class
When the servlet tries to access the properties file , it says :-
" Can't find bundle for base name myprops, locale en_US"
The same application is working fine in tomcat .
The servlet code resides in classes directory.
Can anybody put some light into how this is happening.
Regards,
Pavan
Hi Pavan,
what's the exact code fragment to read the properties?
Best regards
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.