Re: relative path problem

2003-03-12 Thread Steve Parker
Not sure, but perhaps can you get the relative path by calling java.lang.system.getProperty('prop_name') not sure what the identifier for relative path is though.. On Wed, 12 Mar 2003 10:36:09 -0800 (PST), bobd wrote > That is my problem...how do you get the relative path > (in an action class)

Re: relative path problem

2003-03-12 Thread bobd
That is my problem...how do you get the relative path (in an action class)? Could you provide or point me to some example code? OR, even an example of using 'ApplicationResources.Properties' to read in a path value would satisfy me. thanks --- Stephen Smithstone <[EMAIL PROTECTED]> wrote: > tr

RE: relative path problem

2003-03-11 Thread Witbeck, Shane
I generally use one of the following or using the Struts html taglib... HTH, Shane -Original Message- From: Jeff Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:35 AM To: Struts Users Mailing List Subject: Re: relative path problem I find that paths can be

Re: relative path problem

2003-03-11 Thread Jeff Smith
I find that paths can be stated as absolute, from the root of my web-app. So, for example, my style sheets are linked as: This seems to work, but it introduces a secondary problem. What if I change the name of my app? I suppose I could always put the app-name as a constant and reference it that

Re: relative path problem

2003-03-11 Thread Stephen Smithstone
try using an action that gets the relative path then pass that path to the bean maybe On Tuesday 11 March 2003 6:52 am, bobd wrote: > This is a rather silly problem I have been putting off > and now I really need to fix it... > > In my Struts app, bean classes are parsing and writing > XML fil