So I'm creating and managing a bean using a JSF. The JSF then links to a JSP page that I need access to the managed bean. The JSF code:
<h:inputText id="firstName" value="#{registration.lastName}"/> <h:commandButton value="Register" action="confirm.jsp"/> The JSP:
<jsp:useBean id = "registration" scope = "session" class = "Project1.Registration"> </jsp:useBean> <%= registration.getFirstName() %> So, the JSP firstName is null. Can you use 'usebean' to get access to the JSF bean? Is there more I need to do to call the JSP and pass the managed bean? Obviously this is for a class and I wouldn't see a reason to mix the two like this, but alas that is the requirement. Any help is appreciated.