bean « Parameter « JSP-Servlet Q&A





1. How to pass parameters from Servlet via Bean to JSP page with the help of Session?    stackoverflow.com

As mentioned below I have made changes to the code which looks like following example, but it doesn't show firstname and lastname in JSP: Servlet code:

//....
HttpSession session = request.getSession();
Person person = (Person) ...

2. Passing an int parameter from backing beans to JSP pages    forums.netbeans.org

Hi All, I tried passing an entity bean from from an ejb to a backing bean to a jsp page and when i try to pass this value from a jsp page to another jsp page using the i always get a 0 value even though the corresponding values in the database entity is different i.e (1,3,5). ...