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 create session in visual web jsf page as we create in
jsp and how to maintain that jsf session in another jsp page?
<JSF=java server faces> <JSP=java server pages>

Answer Posted / john britto.s

Hi
Two ways of crating session
1.Like jsp page(ex. <%@page session="tru%>
<%=session.getAttribute("somesessionobject");
2.Another one is creating session via Managed bean
ex. HttpSession ses = ( HttpSession )
FacesContext.getCurrentInstance().getExternalContext().getSession(
true );
ses.setAttribute("someobject",someobject);

Sorry for my poor english

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the main fuction of OSPF in a internetwork? how does work of same network?

1962


how bluetooth works?what is principle behind in it?

6756


can i get some win vista notes

1721


How does C pass variables to a function ?

2167


am a textile eng. frombut with major of my course including chemical eng, subjects, can i too apply to the co.?

1951


how to store the vacuum in tank? its possible? what are the units for measure the vacuum ?

1813


how to write regression test case?what is the difference between Client server & web based Testing? can we able to do UI Testing in web based Testing

1950


Why do windmills never appear stationary?

1461


how to find out the name of the users who are currently working starting with the same characters in unix os

1856


what is the use of fact tables in your banking project doveleped with teradata?

2161


Explain the memory reference and register reference instructions as micor operation.

4205


how to create user name stape by stape in cisco router {with command}

3122


what are differences between composition and inheritance in c

1561


A company canteen needs an automated system for its food and beverage management. The canteen receives food and beverage items from different distributors. All the non perishable items are stored in the store-room and the perishable items are put in the fridge. The manager should be able to add, delete or update food and beverage items onto the system and perishable and non perishable item details are to be stored separately. Both waiters and the cooks should be able to update the perishable items, but only the cooks should be allowed to update the non perishable items. Both cooks and waiters are not allowed to add or delete any items that are entered. identify the Schema, Table , Fields

3210


when does the official confirmation or the offer letter for the 2012 selected candidates of HUAWEI will come??

2251