struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: How to get requested path?
Date Thu, 03 Jun 2004 14:51:01 GMT
Frank-
the Path Follows the URI and precedes the Query String
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServletRequest.html#getPathTranslated()
Does this help??
Martin
----- Original Message ----- 
From: "Frank Zammetti" <fzammett@hotmail.com>
To: <user@struts.apache.org>
Sent: Thursday, June 03, 2004 10:41 AM
Subject: How to get requested path?


> I've been looking through javadocs for a couple of hours and I haven't
found
> the answer to what seems like a straight-forward question...
>
> Assume I am writing a sublcass of RequestProcessor... how can I, in the
> processPreprocess() method, get the path that was called?  In other words,
> if I submit a request to http://localhost:8181/wst/myAction.wst, how can I
> get a String with the value "myAction.wst"?  I've checked all the request
> parameters and attributes and headers, it doesn't seem to be there, and I
> don't see anywhere that it's available in RequestProcessor, even though it
> seems like something that would be.
>
> Can anyone point out what I'm suire will wind up being the obvious answer?
> Thanks all!
>
> Frank
>
> _________________________________________________________________
> Getting married? Find great tips, tools and the latest trends at MSN Life
> Events. http://lifeevents.msn.com/category.aspx?cid=married
>
>
> ---------------------------------------------------------------------
> 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