There's an easy way to do this using JSTL.
(Don't take this verbatim.. I am doing this straight from my Friday mode
mind and not looking it up).

<c:set var="requestURI" value="${pageContext.request.requestURI}"/>
<c:if test="${requestURI == '/index.jsp'}">

        //do ur stuff here.
        
</c:if>

-Tim

-----Original Message-----
From: Becky Norum [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:38 PM
To: [EMAIL PROTECTED]
Subject: Request-URI


Is there a way to get the request URI to use in a logic tag in place of
<%= request.getRequestURI() %>

e.g. <logic:match name="Request-URI" value="/index.jsp" >

I could write a scriptlet to handle the comparison, but I'm trying to
not use them.

TIA!
-- 
Becky Norum
Database Administrator
Center for Subsurface Sensing and Imaging Systems (CenSSIS)
Northeastern University
http://www.censsis.neu.edu



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