Hi,
In my logon page ,I logon with user name and user
password,when I submit I get the error:

No action instance for path /verifyAction could be
created
This is my logon page:

..
<html:form action="/verifyAction"   focus="username">

<table border="0" width="200">
      <tr> 
                        
        <td width="56"><font size="2"
color="#CC0000"></font></td>
                        
        <td width="134">UserName: <font size="2"> 
          <html:text property="username"/>
          </font></td>
       </tr>
       <tr> 
                        
        <td width="56"><font size="2"
color="#CC0000">Password:</font></td>
                        
        <td width="134"> <font size="2">
          <html:password property="password"/>
          </font></td>
      </tr>
                    
      <tr bgcolor="#7B889F"> 
         <td>
                    
          <html:submit property="submit"value=" 
"/></td>
        <td>
          <input type="reset" name="reset1" value=" 
"></td>
        
     </tr>
</table>   
                    </html:form>
This is my struts_config.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE struts-config 
SYSTEM 
"FILE:/WebSphere/AppServer/dtds/struts-config_1_0.dtd">

<!--
     This is a blank Struts configuration file based
on the example application,
     with commented examples of some items.

     NOTE: If you have a generator tool to create the
corresponding Java classes 
     for you, you could include the details in the
"form-bean" declarations.  
     Otherwise, you would only define the "form-bean"
element itself, with the 
     corresponding "name" and "type" attributes, as
shown here.
-->


<struts-config>


  <!-- ========== Data Source Configuration
=============================== -->
<!--
  <data-sources>
    <data-source
       autoCommit="false"
      description="Example Data Source Configuration"
      driverClass="org.postgresql.Driver"
         maxCount="4"
         minCount="2"
         password="mypassword"
             
url="jdbc:postgresql://localhost/mydatabase"
             user="myusername"
    />
  </data-sources>
-->

  <!-- ========== Form Bean Definitions
=================================== -->
  <form-beans>

    <!-- Example logon form bean 
    <form-bean      name="logonForm"
                   
type="org.apache.struts.example.LogonForm"/>
     -->
     <form-bean      name="logonForm"
                   
type="org.apache.struts.webapp.example.LogonForm"/>

  </form-beans>


  <!-- ========== Global Forward Definitions
============================== -->
  <global-forwards>

    <!-- Example logon forward 
     <forward   name="logon"               
path="/logon.jsp"/>
     -->
 
 
 <forward   name="success"    
path="/test/confirm.jsp"/>
    
    
  
  </global-forwards>


  <!-- ========== Action Mapping Definitions
============================== -->
  <action-mappings>

    

   
    <!-- Display the "confirm.html" documentation -->
    <action  path="/confirmhtml"      
         forward="/test/confirm.html">
    </action>
    
    <!-- Display the "confirm.jsp" documentation -->
    <action  path="/confirmjsp"      
         forward="/test/confirm.jsp">
    </action>
    
    <!-- Display the  verifyAction documentation -->
    <action    path="/verifyAction"
               
type="org.apache.struts.webapp.example.VerifyAction"
                name="logonForm"
               scope="request"
               input="/index.jsp">
       <forward name="success"             
path="/test/confirm.jsp"/>
    
    </action>
        


    <!-- The standard administrative actions available
with Struts -->
    <!-- These would be either omitted or protected by
security -->
    <!-- in a real application deployment -->
    <action    path="/admin/addFormBean"
              
type="org.apache.struts.actions.AddFormBeanAction"/>
    <action    path="/admin/addForward"
              
type="org.apache.struts.actions.AddForwardAction"/>
    <action    path="/admin/addMapping"
              
type="org.apache.struts.actions.AddMappingAction"/>
    <action    path="/admin/reload"
              
type="org.apache.struts.actions.ReloadAction"/>
    <action    path="/admin/removeFormBean"
              
type="org.apache.struts.actions.RemoveFormBeanAction"/>
    <action    path="/admin/removeForward"
              
type="org.apache.struts.actions.RemoveForwardAction"/>
    <action    path="/admin/removeMapping"
              
type="org.apache.struts.actions.RemoveMappingAction"/>


  </action-mappings>

</struts-config>

Thank for you!



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

Reply via email to