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

What is action tag in jsp?

966


Explain client and server side validation?

960


What is the standard action?

1002


What is pagescope in jsp?

958


What are the different types scripting elements in jsp?

977


Explain translation phase.

951


How many jsp implicit objects are there?

1021


What is the standard action?

1043


List all tags that are provided in jstl?

945


When will container initialize multiple jsp/servlet objects?

1015


How can the output of JSP or servlet page be prevented from being cached by the browser?

942


What is jsp and why do we need it?

969


HOW CAN WE COMPARE TWO PDF FILES USING JSP ?

2956


Explain the action.

948


What is expression language injection?

1002