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 Struts if tag issue 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 "Struts if tag issue" Watch "Struts if tag issue" New topic

Struts if tag issue

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345


I have the following struts:if tag which should actullay return true:

the isSourceCode property in currentQuestion is true. But why does this not evaluate to true in my above tag? What mistake is there? I do not see any exceptions or anything.

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345

The getter method for this property had a different name and that was why it was not reading this variable. Problem resolved!
I agree. Here's the link:
subject: Struts if tag issue
Similar Threads
Please help me to enable and disable anchor tag
Using <jsp-file> tag in web.xml
useBean doubt
Custom Tag Doubt
Tag File error....