getServletContext().getResource(path) --> returns an URL or
getServletContext().getRealPath(relativePath) --> returns a String Thanks -- pady [EMAIL PROTECTED] -----Original Message----- From: Cameron Hickey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 3:25 PM To: 'Struts Users Mailing List' Subject: filesystem path What is the simplest way to return the value of the path on the file system where a web app is located? I am building a file upload component and I need to make it usable on numerous systems without changing any properties files. I imagine it is something simple, but I am new to JSP/STRUTS development and I don't know where to look. Thanks for any help, Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

