On Thu, 6 Feb 2003, Kishi Mikio wrote:

> Hi,
> 
> <c:if test="...">
>   <% return; %>
> </c:if>
> 
> As above, I want to return in c:if tag, but can not....
> In this case, what is the best practice ?
> 
> Is creating my custom tag (myTag:return)
> , which return SKIP_PAGE immediately, better ?
> 
> Thanks in advance

You don't seem to mind using scriptlets, so

 <c:if test="...">
   <% if (1==1) return; %>
 </c:if>

would work.  Your own <my:return> would indeed probably be cleaner,
though.

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


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

Reply via email to