struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiuma <ki...@usa.net>
Subject [STRUTS] findForward problem
Date Wed, 18 Sep 2002 17:09:21 GMT
Hello I have the following problem

my config.xml is

<form-beans>
    <form-bean name="listedUserForm" 
type="com.wingstech.webappointments.ListedUserForm" />      
    <form-bean name="userEditForm" 
type="com.wingstech.webappointments.UserEditForm" />      
  </form-beans>


  <!-- ========== Global Forward Definitions 
============================== -->
  <global-forwards>
    <forward name="index" path="/index.jsp" />   
    <forward name="SystemError" path="/error.html" />
  </global-forwards>


  <!-- ========== Action Mapping Definitions 
============================== -->
  <action-mappings>
       <action name="listedUserForm" input="/secure/userlist.jsp" 
path="/listedUser" type="com.wingstech.webappointments.ListedUserAction" 
parameter="action" validate="true">
            <forward name="Success" path="/secure/userlist.jsp" 
redirect="true" />
       </action>      
       
       <action name="userEditForm" input="/secure/useredit.jsp" 
path="/userEdit" type="com.wingstech.webappointments.UserEditAction" 
validate="true">
            <forward name="Success" path="/secure/userlist.jsp" 
redirect="true" />          
            <forward name="UserList" path="/secure/userlist.jsp" 
redirect="true" />
            <forward name="Failure" path="/index.jsp" redirect="true" />
            <forward name="UserAppend" path="/secure/useredit.jsp" 
redirect="true" />
       </action>       
       <action name="userEditForm" input="/secure/useredit.jsp" 
path="/openUserEdit" 
type="com.wingstech.webappointments.OpenUserEditAction" validate="false">
            <forward name="Success" path="/secure/useredit.jsp" 
redirect="true" />           
            <forward name="Failure" path="/secure/userlist.jsp" 
redirect="true" />           
       </action>       
  </action-mappings> 





my execute Action is


public ActionForward append( ActionMapping mapping,
                                  ActionForm form,
                                  HttpServletRequest req,
                                  HttpServletResponse res ) throws 
Exception
    {       
        System.out.println("Going to append");       
        return mapping.findForward( IStrutsConstants.USER_APPEND );    
    }



But th problem is that my app doesn't proceed:
(http://localhost:8080/webappointments/listedUser.do)

Why?

thanks,
kiuma


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message