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 |
my pc frequently rebooted on normal windows xp mode, but didnot rebooted on safemode, its works no rebooting. what problem this, pls solution.
I have Job A and Job B in jcl. I want to trigger Job B from Job A. Please advise.
THESE POSTS ARE FOR THE DURATION OF FIVE YEARS. AFTER COMPLETION OF FIVE YEARS, THE PERSONNEL POSTED AGAINST THESE POSTS ARE LIKELY TO BE CONTINUED IN NIC. CAN Any body say that what it will be happened after 5 years? does they through us out from NIC? Is it a temporary job of 5 years is the probation period?
Can any1 say how this prog logic works... i am weak in thread concept...pls explain step by step
write the output for yhe given program int a=5; void main() { int a=9; printf("%d",a); } printf("%d",&a);
out of fgets() and gets()which function is safe to use and why in c language?
AD backups and restoration
i am satish i want to preapare for group-1 exams so please help me?
what is the difference between VARCHAR and VARCHAR2?
funtionalities of loadining and linking
What is meant by relay & co-ordination at substation engineering ?
What is RIA course certification.? which is the best institute for ria courses in bangalore ?