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 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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.




 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 2 - Testing variable in session