Howdy, What is the path used for? Is it a link to another HTML/JSP/servlet, or is it a destination for uploaded files?
If the former, use a relative link, e.g. ../upload. If the latter, you need an absolute path to a directory to which the server user has write permissions. You can use javax.servlet.context.tempdir or a directory you configure via a context-param in web.xml. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Steve Harris [mailto:[EMAIL PROTECTED] >Sent: Thursday, November 06, 2003 1:47 PM >To: [EMAIL PROTECTED] >Subject: tomcat relative path in .jsp > >Hi, > >I'm managing a tomcat application server that has an application with a >.jsp that has the path hard coded, e.g. ; > >/opt/local/jakarta/jakarta-tomcat-4.0.6/webapps/els/upload > >The path is used to upload files to. I'd like to recommend to the >developer a change that could be made to make this path relative rather >than absolute - any ideas ? > >Cheers - Steve > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]