This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes logic:equal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:equal" Watch "logic:equal" New topic
Author

logic:equal

akshaj nampelly
Greenhorn

Joined: May 18, 2005
Posts: 18
My functionality is to show check box checked based on value compared to database value when it is trur or unchecked when false, I want to include checkbox in <logic:equal> tag, how to go for that, it will be with <html:checkbod> or <input type=checkbox>.

Akshaj
poornima balagopal
Ranch Hand

Joined: Dec 02, 2003
Posts: 83
hi
<logic:equal> you can use for both normal HTML tags and struts tags
whatever comes in between <logic:equal> and </logic:equal> will be displayed or according to the condition in <logic:equal>
Refer userguide provided by jakarta (http://struts.apache.org/userGuide/)
 
jQuery in Action, 2nd edition
 
subject: logic:equal
 
Similar Threads
jsp page for struts
Struts checkbox problem.
initilaze checkbox
How to replace a if(boolean) script with struts tag?
Html:checkbox