Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 958382

Pages: 1
lKamal99
Unregistered




A property file in WEB-INF folder
      #43987 - 03/01/07 05:21 AM

I'm trying to load a property file in WEB-INF folder.

WEB-INF
|--->classes

So since classes folder is inside WEB-INF, I tried to go with ../values.properties. But it is not working with Tomcat 5.5.

Can you give me some idea on this?
Do you use tomcat 5.5 or 6.0
You may choose only one
5.5
6.0


Votes accepted from (03/01/07 05:20 AM) to (No end specified)
View the results of this poll



Post Extras: Print Post   Remind Me!   Notify Moderator  
CasperGio
Unregistered




Re: A property file in WEB-INF folder [Re: lKamal99]
      #44833 - 03/24/07 05:28 AM

WEB-INF/classes is in the classpath for a web app usually
it's just the root default package


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 16616

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5