If I am not missing anything, maybe you can (it is a good practice) go _always_ through an Action (or ActionForward, etc) and never post directly to a JSP...

HTH,
Guido.

Khalid K. wrote:

(Repost)

Hello All, Please help with this problem.

I need request.getRequestURI() to return "actionA.do"

This works fine if when I call the getRequestURI() method from an Action
class,

But When I call request.getRequestURI() from a JSP file...it returns the
ActionA.jsp   ????????

I could replace .jsp with .do, but my method sometimes post to a jsp
file and others to an Action, so It is not as easy....

Any ideas??

Thanks

Khalid



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to