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 / 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 |
Hi, I am preparing for Assistant Motor Vehicle Inspector (AMVI) exam.If any body having old question papers please send.My mail id is siyadndd@gmail.com
what type of questions pannel ask to the intervier? plz i want questions about computer engineering? System security subject.
Is there aptitute question will be asked in NIC exam ??? If yes how many questions will be asked??
Write a Java program that takes an integer from the user and extracts and displays each digit of the integer in English. So, if the user types in 932, the program will display nine three two. [Use SimpleInput class]
how to use two diffirent gatway in one system
create a C program, the .exe file of that program run system will reboot any one help me
Modal vs Modaless in VB??
in his salary a man spends 10% of rent,15%foodand 20% on cloth then how mucj he says
If Neena says "Anita's father Raman is the only son of my father-in-law Mahipal",then how is bindu ,who is the sister of Anita,related to Mahipal
Why am i appreciated?
What are the main assumptions that we make when we model potential flow?
what is a pointer in c language?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)