You can use the <bean:page> tag to expose the application, config, request,
response or session objects as a scripting variable.
So something like...
<bean:page id="requestId" property="request"/>
<logic:equal name="requestId" property="servletPath"
value="/useradmin/contentChange.jsp">
Niall
----- Original Message -----
From: "Fedor Smirnoff" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 12:25 AM
Subject: Accessing request.ServletPath()
> Hi,
>
> I am trying to compare the current path of a .jsp file to the link to make
> sure I display the correct button image active vs. inactive, so I would
like
> to do request.getServletPath() but with logicEqual something like this
>
> <logic:equal value="/useradmin/contentChange.jsp" scope="request"
> name="request" property="ServletPath">
>
> It doesn't work, any ideas? Thanks
>
> Fedor
>
>
>
>
> ---------------------------------------------------------------------
> 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]