Accessing Base Document Directory from JSP

2001-05-22 Thread Jeff Trent
I would like to use absolute URLs to get to another page in my app. However, I don't want to burn in 'MyApp'. Instead, I would like to dynamically get the name that was assigned via the sysadmin. How can I do this from within a JSP? Thanks, Jeff

RE: Accessing Base Document Directory from JSP

2001-05-22 Thread Pernica, Jan
application.getContextPath() returns the path to the current context On Tuesday, May 22, 2001 2:42 PM, Jeff Trent [SMTP:[EMAIL PROTECTED]] wrote: I would like to use absolute URLs to get to another page in my app. However, I don't want to burn in 'MyApp'. Instead, I would like to dynamically

Re: Accessing Base Document Directory from JSP

2001-05-22 Thread Jeff Trent
, May 22, 2001 9:12 AM Subject: RE: Accessing Base Document Directory from JSP application.getContextPath() returns the path to the current context On Tuesday, May 22, 2001 2:42 PM, Jeff Trent [SMTP:[EMAIL PROTECTED]] wrote: I would like to use absolute URLs to get to another page in my app

RE: Accessing Base Document Directory from JSP

2001-05-22 Thread Pernica, Jan
. thanks, jeff - Original Message - From: Pernica, Jan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 9:12 AM Subject: RE: Accessing Base Document Directory from JSP application.getContextPath() returns the path to the current context On Tuesday, May

Re: Accessing Base Document Directory from JSP

2001-05-22 Thread skolski
Hi, I don't know, if that helps you, but, I get the name in JavaScript. The function window.location.pathname; gives you the local part of the url, so Myapp/myfile you can then easily put this together with your absolute part of the url. Sascha