Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to maintain sessions in jsp?can you tellme the methods.

Answer Posted / prasanthi

small correction in answer 1:
session.setAttribute("user",name);
using retrive method
//String sessionuser=session.getAttribute(name);
String sessionuser=(String)session.getAttribute(name);

Is This Answer Correct ?    6 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I override the jspdestroy() method within a jsp page?

928


What are the different scopes an object can have in a jsp page?

997


What is a tag file?

841


Explain what is jsp ?

977


How can we forward the request from jsp page to the servlet?

937


Why do we need custom tags in jsp?

886


What is the scope of response object?

1113


Which implicit object is not available in normal jsp pages?

892


What is jsp tag?

874


Differentiate between response.sendredirect(url) and ?

1030


Why jsp is used in java?

884


What is difference between jsp and jstl?

937


What are the different scope values for the tag?

886


Why session is used?

861


What is jsp exception?

935