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

My declarring <%@ page session="true"%>
and setting one variable in request object

like.
<% String name="milu";%>
<% session.setAttribute("name",name);%>

getting this : <%=(String)session.getAttribute("name")%>

Is This Answer Correct ?    61 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stored procedures? How is it useful?

944


How do I create a dynamic web project?

902


Why do we use jstl tags?

864


What is contextpath?

900


What is a jsp expression?

983


Why is jsp used for?

932


What is the purpose of ?

973


Differentiate between pagecontext.include and jsp:include?

942


What is content type in jsp?

897


What is error page in jsp?

902


Can a jsp page process html form data?

984


What is the resourcebundle class in jsp?

919


List the various action tags used in jsp.

924


Why is it not recommended to use script elements in jsp?

948


difference betwwn 16 bit and 32 bit

2105