struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hookom, Jacob" <Jacob.Hoo...@redline.mckhboc.com>
Subject RE: [OT] Get Servlet Mapping at Runtime
Date Fri, 09 Jul 2004 16:37:30 GMT
I've been playing around and I know that it's a suffix mapping if
request.getPathInfo == null, more investigation ensues.



-----Original Message-----
From: Robert Taylor [mailto:rtaylor@mulework.com] 
Sent: Friday, July 09, 2004 11:16 AM
To: Struts Users Mailing List
Subject: RE: [OT] Get Servlet Mapping at Runtime

I think you would have to define the mapping that exists in web.xml for that

servlet in one of that servlets init parameters. I don't believe its
explicitely
available through an API call. 

robert

> -----Original Message-----
> From: Hookom, Jacob [mailto:Jacob.Hookom@redline.mckhboc.com]
> Sent: Friday, July 09, 2004 11:53 AM
> To: 'Struts Users Mailing List'
> Subject: [OT] Get Servlet Mapping at Runtime
> 
> 
> Hey all, does anyone have any ideas of how to get the Servlet mapping
during
> runtime?  So if I were inside of a servlet, I want the mapping for it when
> handling the request.  I can't assert suffix parsing of the request URI.
> 
> Thanks for any ideas in advance.... :-)
> 
> 
> Jacob Hookom
> Senior Analyst/Programmer
> McKesson Medical-Surgical, Minnesota
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message