You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ignacio de Córdoba <ic...@skios.es> on 2009/02/17 20:53:09 UTC

How to get request method from OGN using s:if

Hi there,
I need to know the method of current request from the page using OGNL. I
used to do:

<c:if test='${request.method=="GET"}'>

¿Can I access the request object, not just request parameters, from OGNL to
do this test?

<s:if test='%{#request.method=="GET"}'> is not working

thanks,
Ignacio
-- 
View this message in context: http://www.nabble.com/How-to-get-request-method-from-OGN-using-s%3Aif-tp22065007p22065007.html
Sent from the Struts - User mailing list archive at Nabble.com.


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