struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mon Cab <futo...@yahoo.com>
Subject Accessing Request URI using struts tags
Date Wed, 01 Aug 2007 23:42:25 GMT
I am trying to do the following from within a jsp, using Struts tags

<if requestURI.equals("bla")>
  <%@ include file="bla.jsp" %>
</if>

However, I cant seem to find the tags to do do this. 

I would have imagined that one could do something like:

<bean:define id="request_uri" name="request" property="requestURI" />
 <logic:match name="request_uri" value="bla" />
  <%@ include file="bla.jsp" %>
 </logic:match>

but this does not work.  
Any adivice would be helpful.  Sorry for the newbie question. 



      ____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message