This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 - Testing variable in session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Testing variable in session " Watch "Struts 2 - Testing variable in session " New topic
Author

Struts 2 - Testing variable in session

Jaames Smith
Greenhorn

Joined: May 28, 2013
Posts: 9
What I am doing wrong here in if condition.

Jaames Smith
Greenhorn

Joined: May 28, 2013
Posts: 9
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.




 
Don't get me started about those stupid light bulbs.
 
subject: Struts 2 - Testing variable in session
 
Similar Threads
How to test Hibernate dao layer in spring?
Run the strtus 2.0 Program with control tag but no output
Struts2 Iterator Radio Tag Display Issue.
How to add other option tag in struts2 ins <s:select></s:select>
Check less than operator in struts if tag