Re: Application mapping - how do I know it from within the app?

2001-04-18 Thread Johan Fredriksson
PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 3:45 PM Subject: Re: Application mapping - how do I know it from within the app? Oops, a check of the API would have shown that it is request.getContextPath() anyways. PS All this is in the API, my suggestion

Re: Application mapping - how do I know it from within the app?

2001-04-18 Thread Hani Suleiman
to update orion to run servlet 2.3 spec. Johan - Original Message - From: "Hani Suleiman" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 3:45 PM Subject: Re: Application mapping - how do I know it from within the app?

Re: Application mapping - how do I know it from within the app?

2001-04-17 Thread Johan Fredriksson
5:30 PM Subject: Re: Application mapping - how do I know it from within the app? pageContext.getServletContext().getContextPath() On Wed, 11 Apr 2001, Johan Fredriksson wrote: I'm using virtual hosts in my development to make sure that all links are correctly set, that is I can access the

Re: Application mapping - how do I know it from within the app?

2001-04-17 Thread Hani Suleiman
ion mapping - how do I know it from within the app? pageContext.getServletContext().getContextPath() On Wed, 11 Apr 2001, Johan Fredriksson wrote: I'm using virtual hosts in my development to make sure that all links are correctly set, that is I can access the same app in

Re: Application mapping - how do I know it from within the app?

2001-04-17 Thread Tim Endres
PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, April 11, 2001 5:30 PM Subject: Re: Application mapping - how do I know it from within the app? pageContext.getServletContext().getContextPath() On Wed, 11 Apr 2001, Johan Fredriksson wrote: I'm using

Application mapping - how do I know it from within the app?

2001-04-11 Thread Johan Fredriksson
I'm using virtual hosts in my development to make sure that all links are correctly set, that is I can access the same app in two ways, either via appname.localhost or localhost/appname . The problem is that I'm not sure how to figure out on a jsp page which entry point was used, and

Re: Application mapping - how do I know it from within the app?

2001-04-11 Thread Hani Suleiman
pageContext.getServletContext().getContextPath() On Wed, 11 Apr 2001, Johan Fredriksson wrote: I'm using virtual hosts in my development to make sure that all links are correctly set, that is I can access the same app in two ways, either via appname.localhost or localhost/appname

Re: Application mapping - how do I know it from within the app?

2001-04-11 Thread Johan Fredriksson
().indexOf(request.getServletPath())); Which will return the mapping to the root of your application. Johan - Original Message - From: Johan Fredriksson To: Orion-Interest Sent: Wednesday, April 11, 2001 4:59 PM Subject: Application mapping - how do I know it from

RE: Application mapping - how do I know it from within the app?

2001-04-11 Thread elephantwalker
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Johan FredrikssonSent: Wednesday, April 11, 2001 9:50 AMTo: Orion-InterestSubject: Re: Application mapping - how do I know it from within the app? okey, I fĂ­gured it out... With a little help. I hope this function will appear