Kalid

    you are getting .do because u have mentioned it in your web.xml.
there is no way for u to get .do at jsp level, coz jsp has no awareness of
web.xml and hence do not have any view for it.

    I have a query why do u want to call .do ? !!!!!!!!!!!!!!!!!
i guess in doing so you are breaking the flow.
----- Original Message -----
From: "Khalid K." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 10:03 AM
Subject: HELP! Plz!! request.getRequestURI() in jsp vs. Action class HELP!!!
:)


> (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