Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

S:elseif not working correctly

 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have the below code in my jsp file; however the s:elseif tag is not working. The links are not displayed; a blank page comes up
Te session attribute is set in the action class)
When I tried to print on screen the value of "admin" variable, it is showing the correct value.


I also tried the below change; but nothing seems to work:



Can someone guide me as to what could be wrong?

Thanks,
Harsha
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an <s:if>?
 
Harsha Mulani
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David, you are my saviour.

The issue is resolved; the below works:

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to hear you worked it out :)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic