RE: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Martin Gainty
58 -0800 > From: milanmilanov...@yahoo.com > To: user@struts.apache.org > Subject: Re: [OT] Re: [S2] Locating a file or resource in Web application > (classpath issue) > > > O.K. Thanks. > > When I deploy application to local Tomcat from my Eclipse environment it >

Re: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Milan Milanovic
O.K. So, I supose that you are familiar with Tomcat server ? Do you maybe know how can I set up some files to classpath that I'll can get in my S2 application deployed to Tomcat ? -- Thx, M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic wrote: >> When I deploy application to lo

Re: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Dave Newton
--- On Thu, 12/11/08, Milan Milanovic wrote: > When I deploy application to local Tomcat from my Eclipse > environment it don't use WAR, but if I want to run my app > on server's Tomcat I'll need to have application in war, > isn't it ? Perhaps unsurprisingly, I am unfamiliar with your deploymen

Re: [OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Milan Milanovic
O.K. Thanks. When I deploy application to local Tomcat from my Eclipse environment it don't use WAR, but if I want to run my app on server's Tomcat I'll need to have application in war, isn't it ? -- M. newton.dave wrote: > > --- On Thu, 12/11/08, Milan Milanovic wrote: >> If I try to say e.g

[OT] Re: [S2] Locating a file or resource in Web application (classpath issue)

2008-12-11 Thread Dave Newton
--- On Thu, 12/11/08, Milan Milanovic wrote: > If I try to say e.g.: > PropertiesConfiguration config = new > PropertiesConfiguration("/WEB-INF/users.properties"); You're assuming path names are magically converted into web-app-relative paths inside a web application; this isn't the case. No