Re: File Path Problem...

2002-11-21 Thread Andreas Probst
Hello, maybe you could save the absolute path inside a properties file or pass it as an init parameter in web.xml. For each location of your app you would have to set this path appropriately. You could use absolute paths and wouldn't need to change the source code of the application.

Re: File Path Problem...

2002-11-21 Thread Kristján Bjarni Guðmundsson
I think you could store it in WEB-INF and use ServletContext.getRealPath(/WEB-INF). Andreas Probst [EMAIL PROTECTED] wrote on 21.11.2002 12:19:51: Hello, maybe you could save the absolute path inside a properties file or pass it as an init parameter in web.xml. For each location of

RE: File Path Problem...

2002-11-21 Thread Harsha Yalagach
, Harsha -Original Message- From: Andreas Probst [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 17:50 To: Tomcat Users List Subject: Re: File Path Problem... Hello, maybe you could save the absolute path inside a properties file or pass it as an init parameter in web.xml

Re: File Path Problem...

2002-11-21 Thread Jon Eaves
. It may be deployed on win32 machines or Solarix machines or Linux machines... :( Any more ideas... Regards, Harsha -Original Message- From: Andreas Probst [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 17:50 To: Tomcat Users List Subject: Re: File Path Problem... Hello, maybe

Re: file path problem

2002-05-06 Thread Jacob Kjome
Hello Bharanidharan, Don't confuse the system file path with the URL path. What URL is in your browser on the page that contains the window.open()? window.open will try to find the page relative to your domain root. If you are at: http://www.myserver.com/mywebapp/servlet/myservlets.login

RE: file path problem

2002-05-06 Thread Mani, Bharanidharan
jack, you are right.. i wasnt using url path.. it works fine now.. i appreciate your help.. thanks bharani -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 1:08 PM To: Tomcat Users List Subject: Re: file path problem Hello

RE: file path problem

2002-05-06 Thread Mani, Bharanidharan
- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 1:08 PM To: Tomcat Users List Subject: Re: file path problem Hello Bharanidharan, Don't confuse the system file path with the URL path. What URL is in your browser on the page that contains the window.open()? window.open