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

What is < jsp:forward> tag for?

937


What are the standard actions available in jsp?

1004


How can we handle the exceptions in jsp?

943


What will happen if iselignored attribute is set as false?

876


What are stored procedures? How is it useful?

942


What are the possible values for language directive?

908


What is jsp declaration?

929


Explain the jsp life cycle?

961


List all tags that are provided in jstl?

891


Why is used in jsp?

954


Can we call servlet from jsp?

881


What are scripting elements?

1024


What is the standard action?

916


Explain the action?

1034


Is there a way to reference the "this" variable within a jsp page?

1039