File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts if tag issue" Watch "Struts if tag issue" New topic
Author

Struts if tag issue

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9616
    
    2

Guys,

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: 9616
    
    2

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: http://aspose.com/file-tools
 
subject: Struts if tag issue