Try (assuming a request-scoped form): <jsp:useBean id="loginActionForm" scope="request" type="cswebview.LoginActionForm"/> <%= loginActionForm.getUsername() %>
Quoting [EMAIL PROTECTED]: > Hello, > > maybe I haven't understood the struts concept but I've run into a strange > problem and could use some advice. > I have a JSP page that sumbits a username and a password to an ActionForm. > After the Action does the business logic it forwards me to another JSP. > From > that JSP I try to access values stored in the ActionForm bean. > > This one works: > <bean:write name="loginActionForm" property="username" /> > > and this one doesn't (only retrieves a "null"): > <jsp:useBean id="loginActionFormId" scope="page" > class="cswebview.LoginActionForm"/> > ... > <%=loginActionFormId.getUsername()%> > > Since both actions should be the same I cannot figure out what I'm doing > wrong. Anyway the package and the method call are correct! > > Any help is very much appreciated! > > Thanks in advance > Nic > > -- > +++ GMX - die erste Adresse für Mail, Message, More +++ > Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]