okey, I fígured it out... With a little
help.
I hope this function will appear in servlet 2.3
version ( and why isn't orion running 2.3?? )
anyways, if anyone else runs into this copy paste
this line :
String servletPath =
request.getRequestURI().substring(0,
request.getRequestURI().indexOf(request.getServletPath()));
Which will return the mapping to the root of your
application.
Johan
|
- Application mapping - how do I know it from within the a... Johan Fredriksson
- Re: Application mapping - how do I know it from wit... Hani Suleiman
- Re: Application mapping - how do I know it from... Johan Fredriksson
- Re: Application mapping - how do I know it ... Hani Suleiman
- Re: Application mapping - how do I know... Johan Fredriksson
- Re: Application mapping - how do I... Hani Suleiman
- Re: Application mapping - how do I know it ... Tim Endres
- RE: Application mapping - how do I know it from wit... Johan Fredriksson
- RE: Application mapping - how do I know it from... elephantwalker