current page:
    <html:select name="userForm" property="eng_name">
    <c:forEach var="user" items="${userList}">
    <html:option value="${user.usernm}"><c:out
value="${user.eng_name}"/></html:option>
     </c:forEach>
     </html:select>

                <action path="/selectUser"
                    input="user.selectUser"
                        name="userForm"
                        scope="request"
                        validate="false"
                        type="org.apache.struts.actions.ForwardAction">
                        <forward name="success" path="user.assignUserSystem" /> 
        
                </action>

                <action path="/setupAssignUserSystem"
                        input="user.assignUserSystem"
                        name="userSystemForm"
                        scope="request"
                        validate="false"
                        
type="com.user.struts.action.SetupAssignUserSystemAction">
                        <forward name="success" path="user.assignUserSystem" /> 
        
                </action>

On the current page, a combobox displays data. When user clicks one of
the data, and then clicks the submit and then goes to next page. In
next page, the form beans are different because the layouts are
different.

In the next page jsp file, what is the syntax of <bean:write...> so
that I can retrieve data selected in previous page.


I have tried <bean:write name="userForm" property="eng_name">. But the
result is

ERROR - ServletException in '/user/assignUserSystem.jsp': Cannot find
bean: "userForm" in any scope

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to