RE: [OS-webwork] Configuration in /WEB-INF

2003-06-16 Thread Jason Carreira
-Original Message- From: Anthony Eden [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:45 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Configuration in /WEB-INF There is an interesting problem with using the ClassLoader or the ServletContext for getting

RE: [OS-webwork] Configuration in /WEB-INF

2003-06-16 Thread Jason Carreira
-Original Message- From: BOGAERT Mathias [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 3:39 AM To: '[EMAIL PROTECTED]' Subject: RE: [OS-webwork] Configuration in /WEB-INF Exactly my point. So this is a good solution after all. Should we vote on this or something

RE: [OS-webwork] Configuration in /WEB-INF

2003-06-16 Thread Jason Carreira
To: [EMAIL PROTECTED] Subject: RE: [OS-webwork] Configuration in /WEB-INF Agreed, but use care with the something. While, the servlet spec specifies a return value of null for getRealPath() in a war deployment, it is my understanding that at one time all of the containers did

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-12 Thread Philipp Meier
On Wed, Jun 11, 2003 at 04:44:55PM -0400, Anthony Eden wrote: There is an interesting problem with using the ClassLoader or the ServletContext for getting resource data: there is no way using the APIs to determine if the resource has been modified. To my understanding, it is the job of the

RE: [OS-webwork] Configuration in /WEB-INF

2003-06-12 Thread Les . Stroud
: Anthony Eden [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 9:30 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Configuration in /WEB-INF Read my original message again: this is a problem which exists for loading resources through both classloaders and the servlet context. If you

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Hani Suleiman
spec). Honestly, classpath is usually the best solution. -Original Message- From: Mathias Bogaert [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 6:55 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] Configuration in /WEB-INF Guys, It seems like we are having a lot of problems

RE: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Les . Stroud
to actually use File (by getting the servlets realpath)? LES -Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:44 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Configuration in /WEB-INF getRealPath is very bad, what's so wrong

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Anthony Eden
-Original Message- From: Hani Suleiman [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 9:44 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Configuration in /WEB-INF getRealPath is very bad, what's so wrong with servletContext.getResource() though? On Tuesday, June 10, 2003, at 06:59 PM

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Mathias Bogaert
This is exactly the way SiteMesh does it. Have a look at the ConfigLoader. Cheers, Mathias - Original Message - From: Anthony Eden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 10:44 PM Subject: Re: [OS-webwork] Configuration in /WEB-INF

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Pat Lightbody
Isn't getRealPath() deprecated though? -Pat - Original Message - From: Mathias Bogaert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 2:06 PM Subject: Re: [OS-webwork] Configuration in /WEB-INF This is exactly the way SiteMesh does it. Have a look

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Mathias Bogaert
: Wednesday, June 11, 2003 11:19 PM Subject: Re: [OS-webwork] Configuration in /WEB-INF Isn't getRealPath() deprecated though? -Pat - Original Message - From: Mathias Bogaert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 2:06 PM Subject: Re: [OS-webwork

Re: [OS-webwork] Configuration in /WEB-INF

2003-06-11 Thread Pat Lightbody
Sounds to me like this is not a good plan then. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:48 PM Subject: RE: [OS-webwork] Configuration in /WEB-INF According to the servlet spec getRealPath() will always return null

[OS-webwork] Configuration in /WEB-INF

2003-06-10 Thread Mathias Bogaert
Guys, It seems like we are having a lot of problems with finding configuration files in the classpath etc. Also, I dislike putting configuration files other than .properties on the classpath. That's why I propose putting it all (components.xml, xwork.xml etc)under /WEB-INF directly (same as