File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add condition in display tag?

 
Happy S Singh
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display the link on the basis of some condition .I tried below snippet but getting error



How to get this value ${data.zone} ?
 
Steve Luke
Bartender
Pie
Posts: 4181
21
IntelliJ IDE Java Python
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You shouldn't mix tags and scriptlets and expect them to work - they get executed at different stages in the JSP - to - HTML conversion. Instead, use the core JSTL <c:if > tag (see this documentation which may be out of date...) instead.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic