Meaningless Drivel is fun!
The moose likes Struts and the fly likes doubt in s:if tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "doubt in s:if tag" Watch "doubt in s:if tag" New topic

doubt in s:if tag

maganti suryanarayana
Ranch Hand

Joined: Mar 30, 2010
Posts: 53

<s:if test='"delete".equals(processType) '>

What does it mean ? from where this processType comes into pictutre

Thanks & Regards
Maganti suryanarayana

jatan bhavsar
Ranch Hand

Joined: Jul 23, 2008
Posts: 297

Hi Magnati,

ProcessType is field from the jsp or it should be in your action form.
Second thing it checks for the processtype is equal to delete or not. Equals will return ture or false based on the value of processtype.

For more clarification refer If tag .


I agree. Here's the link:
subject: doubt in s:if tag
jQuery in Action, 3rd edition