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 |
Method to solve question to find the number of zeros in a sequence given by: 1^1*2^2*3^3*4^4*5^5*6^6*........*99^99*100^100?
i want to know ,If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits.
how you judge that your interview go good????
How do you remove meta only for the root slice? remaining slices should run under meta?
What is Difference between the communication and transmission?
what are differences b/w EIA 449 and EIA 530?
iam from engineering information technology ... can i write group 1 exams??
what is the difference betweeen far pointer and near pointer
Client server applications
which is best car to buy in india, if the budget is below or equal to 3.5 lakhs?
Give the coding for system reboot in C
plz snd me sbi probationofficers papers to my id archpa@gmail.com
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
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)