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 |
what are the reseach done by itc brfore launching e-copal
What is CRC? the material will be used in electrical stampings.
why every computer should have a boot strap routine?
If the length of a rectangle is increased by 30% and the width is decreased by 20%, then the area is increased by...
4 Answers College School Exams Tests, Infosys, Microsoft, TCS,
IF R(X,Y,Z,W,P,Q) AND SET OF FD are F={XY->W,XW->P,PQ- >Z,XY-.>Q} DETERMINE whether the decomposition r1(z,p,q),r2(x,y,z,p,q) is lossy or lossless
#include<stdio.h> void main() { int x,y,z; x=1; y=1; z=1; z=++x||++y&&++z; printf("%d%d%d",x, y ,z); }
explain about scope and storage class in oops
what is meant by safety in construction?
A polynomials in mamory can be represented by____________
iam from engineering information technology ... can i write group 1 exams??
mt gre score is 272 and ielts score is 5.5, will i get admission in any of the universities in usa..will i get visa for this score??
i have studied my Btech up to 5years, is any problem with duration of the year.if the us embassy interviewer ask me why you have got 5 years to complete your btech,can you please give me answer.And i got less percentage.
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)