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 is the difference between embedded system and PLC. Whether the micro controller accept future expansion of program?
What would be your first invention?
What is Mointer in Operating System?
reduce the number of key strokes to execute this command : t char -t -v -f/dev/fd0
what are the different types of datasets? what are their characteristics and properties? what are the advantages and disadvantages over others?.
how to configure cisco router & switches plz provide me path steps?
what is permancetunning?
how convert the spiral model to prototype model ?
hi i am kavita banjare iam 2007 passout studentin informaion technology. please give me technical paper.thanks sir............
Why Mother Board is called Mother Board & not Father Board?
12 Answers Microsoft, Precision Infomatic, SoftStream,
WRITE A C PROGRAM TO REVERSE THE LINK LIST WITHOUT CREATING NEW LIST?
Whay we use gigabite ethernt
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)