wood burning stoves 2.0*
The moose likes JSP and the fly likes how can i compare a session parameter value with variable value? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "how can i compare a session parameter value with variable value?" Watch "how can i compare a session parameter value with variable value?" New topic
Author

how can i compare a session parameter value with variable value?

Agnit Chatterjee
Greenhorn

Joined: Mar 04, 2011
Posts: 24
how can i compare a session parameter value with variable value? will this code work? It doesn't give the correct result.........please help

useraccount.jsp




[Edit by Dave - removed the shouting]
Agnit Chatterjee
Greenhorn

Joined: Mar 04, 2011
Posts: 24
Sorry......it's resolved .equals method was required!!!
 
GeeCON Prague 2014
 
subject: how can i compare a session parameter value with variable value?