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
what is JAR file,JNI,JFC??
i want questions only on code part like general logics in c and java
WHAT IS DIFFERENCE BETWEEN ART & VECTOR QUANTISATION BASED ON THEIR APPLICATION IN NEURAL NETWORK
Derive the equation that links voltage, charge and capacitance.
Please send the details and fee for Intools training course..I would like to do the course in second week of jUNE 2010.
nohup sort employees > list 2 > error out & what will happen?
how to cable size by Amp with example
i want to do oracle certification..could any one pleas tell me what is the level 1 certification exam in oracle? how do we get dumps?
what are the efficient way or solutions to avoid ABEND=S04C.
what is the quantity of cement and sand in 1 sq.m (mortar ratio ) a, 1:4 b, 1:3 c, 1:6
int main() { int d = 10; int m = 2; int y = 3603; int c = 0; int val; val = ( d + m + y + (y/4) + c) % 7; cout << val; return 0; }
How would Nvidia increase the core clock speed anymore?
what is a Additional domain ? what is a child domain?
what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.
Explain i.d.e. for visual c++?