Ralf I'm guessing that the this is the same login form that you're talking about in this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=31291 ... if thats the case then my guess is the problems lies with you using the "name" and "type" attributes like this... <html:form action="login.do" name="loginForm" type="com.privasphere.privalope.form.LoginForm" focus="login"> In struts 1.2 the behaviour associated with the "name", "scope" and "type" attributes has been removed. I have updated the upgrade notes on the wiki adding a section on the <html:form> tag and these attributes http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 My guess is that the scope on the mapping for your "login" mapping is "request" - Struts <html:form> tag now will check if that form exists in "request" scope - if it doesn't it will create a new one - ignoring the one you stored in the session. Either change the action mapping to "session" or store the pre-filled loginForm in request scope instead. Niall ----- Original Message ----- From: "Ralf Hauser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 21, 2004 10:22 AM Subject: pre-filled form values no longer work with struts 1.2.4 > Hi, > > In the process of migrating from struts1.1 to 1.2.4, the following problem > arises: > Often in an action-execute(), I pre-populate a form bean and save it > into the session in order to subsequently show these values in the next jsp > containing that same form. > > Now, all such form field values arrive empty in the jsp? > > Anyone else experienced the same? Any hints would be highly appreciated! > > Ralf > > P.S.: What worked before > public class LoadLoginAction extends Action > > ... > loginForm.setFullName("Ralf Hauser"); > ... > session.setAttribute("loginFormKey", loginForm); > > and in the login.jsp: > > <html:text property="fullName" name="loginFormKey" /> > > Or also > > <bean:write name="loginFormKey" property="fullName" filter="true"/> > > Now, both of these no longer work? > > P.S.: I had originally posted this on > http://issues.apache.org/bugzilla/show_bug.cgi?id=31320 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]