wood burning stoves*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 296

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: http://aspose.com/file-tools
subject: doubt in s:if tag
Similar Threads
In Struts2 how to hide textfield dinamically.
S:elseif not working correctly
Struts 2.0 migration logic:present tag
Struts2: Compare request parameter not working