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
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?
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
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
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
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
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
().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
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