I've created a JavaBean called StudentBean. I have a form in index.jsp which dispatches control to the LoginAction
servlet. In that servlet, I import my JavaBean and create a new instance of it. Then I call the set methods of the Bean and set the login name. Once that is done, I use the redirect method to send control to another page. Then I use the
jsp:useBean attribute in the jsp to make a reference to my StudentBean. Later in the html, I use the jsp:getProperty attribute to get the value of the login name from above. It comes back as null for some reason.
I'm thinking I should make an entry in my web.xml to inform my application that the StudentBean is available for use, etc. Can anybody help me out?