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 / aryan

String name="Arpit";
session.setAttribute("user",name);
String sessionuser=session.getAttribute("user");
out.println("WellGud"+sessionuser);

Is This Answer Correct ?    36 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to include a jsp file in another jsp file?

957


What is the use of implicit object named "application" in Application?

1754


Why use of scripting elements in jsp is discouraged?

988


Define jsp declaration?

1028


What are custom tags in jsp?

1003


How to retrieve warnings?

1000


Is jsp static or dynamic?

1025


What is asp and jsp?

957


In the servlet 2.4 specification singlethreadmodel has been deprecated, why?

986


Explain jsp action elements or action tags?

992


Where do I create jsp in eclipse?

974


Mention the various implicit objects used in the expression

1034


Is jsp technology extensible?

1141


What is jsp net?

987


What is difference between javascript and jsp?

996