Results 1 to 1 of 1
Thread: Session and request in JSF
- 05-08-2008, 05:10 PM #1
Member
- Join Date
- Dec 2007
- Location
- Mumbai, India
- Posts
- 37
- Rep Power
- 0
Session and request in JSF
hi,
I am working in struts for last two years. Now i started with JSF. We are making a managed-bean and make the value available in the view(JSP). and when we click the button (an action) we call the method in the managed-bean to get the values from the Form( since i am new i am here only). Is there any other way to call the method eg. by calling a javascript function then submit the Form as in Struts. And how to get the session for the same, since the session will be avilable from the request like this
HttpSession session = request.getSession(true);
How to get the request (HttpServletRequest)
How to get this session.
Is there any other way to call the action by as stated earlier (or) can we write a seperate class which will capable of handling all the request as in struts.
Thanks & Regards,
Felix T
Similar Threads
-
[SOLVED] http request
By Eranga in forum Advanced JavaReplies: 30Last Post: 11-27-2008, 04:35 AM -
respose with out request
By karthikiniyan in forum Java ServletReplies: 1Last Post: 04-09-2008, 03:06 PM -
How to use request Scope in Spring
By Java Tip in forum Java TipReplies: 0Last Post: 03-31-2008, 10:06 AM -
Help with request.getParameter()
By Albert in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 07-13-2007, 03:39 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks