On Fri, 2003-03-07 at 16:20, Chen, Gin wrote:
> 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>
> 
> -TimTim,

Thanks for the suggestion - I'll take a look it jstl, but I haven't been too
fond of the syntax in the examples i've seen thus far.

Also, I'm not sure I want to start combining multiple tagging types, e.g. 
struts and jstl - won't that make the pages harder to read by people who
need to update it in the future?

What is your strategy?  Do you combine both?

Thanks!

Becky


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

Reply via email to