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 does complexity means in an algorithim?? how it is calcutaed?

2378


hiiiiiiii to all am going to prepare J.T.O (BSNL)posts am studying B.Tech final year cse........ but its all about electronic subjects....so tell me where can i get previous papers? give me some sites plzzzzzz.........

2257


Write a nonrecursive routine to reverse a singly linked list in O(N) time.

3546


hi,i just want to know the best institute to learn oracle in bangalore because i am doing my BE there?

1787


sir now i am studying B.Tech final year so now i am eligible for writing group 1 and 2 or not?

1645


When to use Stub and Not So Stubby Area? 10. How to get the external routes without making area Not So Stubby?

1498


Iam preparing for Visakhapatnam Management Trainee 2009 entrance exam.. If anybody have Visakhapatnam Management Trainee Interview questions Pls forward to my mail id srikanth.avanthi@gmail.com .. It is kindly request..

2301


sir ,,kindly provide me 10 year old solved question papers of gate ,i am from CS. branch...

2008


what is your experience with computer-aided design software.

2005


How will a tester be sure that He’s covered the entire functionality in his Test case and not missed out anything?

1885


to acheve the IP 65 protection class does it is mandatory to apply silicon grease?

1870


who are egoless programmers?

2025


what is total power generation capacity in india at present (as on 12-12-2011)

2078


the controller valve fisher error: travel ??? not output input ok

1896


#include int fn(int v); main() { printf("%d\n",fn(7)); } int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; }

1909