I just want the control passing to a form with
a dropdown box so that user can click.

The form does not have a chance to display
and it is skipped to the subsequent form.

Why is it so?

The following is the action class associated
with the form being skipped.

Thanks


public final class SelectUserAction extends Action {

  public ActionForward execute (ActionMapping mapping,
        ActionForm form,
        HttpServletRequest request,
        HttpServletResponse response)
        throws Exception {                      
                
  UserProfileService service = new UserProfileService();
  Collection userList = service.getUserProfileList(null);
  HttpSession session = request.getSession();
  session.setAttribute( "userList", userList );

  return mapping.findForward("success");

  }     


        <action path="/selectUser"
                input="user.selectUser"
                name="userForm"
                scope="request"
                validate="false"
                type="com.user.struts.action.SelectUserAction">
                <forward name="success" path="/setupAssignUserSystem.do" />     
        
                <forward name="cancel" path="/userProfileMaint.do"/>            
        
        </action>

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

Reply via email to