Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 - Testing variable in session

 
Jaames Smith
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I am doing wrong here in if condition.

 
Jaames Smith
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fixed it by putting a Tab class in session with String property name = "DT". I was expecting that it will compare as String but I was wrong.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic