aspose file tools*
The moose likes Servlets and the fly likes getting logintime 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 » Java » Servlets
Bookmark "getting logintime in session" Watch "getting logintime in session" New topic
Author

getting logintime in session

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
I am trying to get the logintime in session like:

But it is showing that getValue method is deprecated.Then how can i get the logintime in session?
please assist me.

Thanks.
[ July 25, 2008: Message edited by: preethi Ayyappan ]
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2709
    
    5

It is replaced by getAttribute(String value).You can use it.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
thanks.it is working fine
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2709
    
    5

You are welcome
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting logintime in session
 
Similar Threads
A query error
datas storing twice from servlet to mysql database
Time.toString() format
how to insert timestamp into derby databse
Element type "chartLegend" must be declared