• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

(No action instance for path could be created

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm getting the following error.
The server encountered an internal error (No action instance for path /SubmitValid could be created) that prevented it from fulfilling this request.

Here is the snippet from the struts-config.xml
-------------------------------------------------
<form-bean
name="ValidationForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="username" type="java.lang.String"/>
<form-property name="password" type="java.lang.String"/>
<form-property name="phone" type="java.lang.String"/>
<form-property name="email" type="java.lang.String"/>
<form-property name="url" type="java.lang.String"/>
</form-bean>


<action path="/SubmitValid"
type="com.ibm.struts.validation.ValidationAction"
name="ValidationForm"
scope="request"
validate="true"
input="/pages/test-validation.jsp">
<forward name="succes" path="/pages/success.jsp" redirect="true"/>
<forward name="failure" path="/pages/test-validation.jsp" redirect="true"/>
</action>
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This the action you are posting to.

type="com.ibm.struts.validation.ValidationAction"
 
Lalitha Vydyula
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, ValidationAction is in the package com.ibm.struts.validation
 
reply
    Bookmark Topic Watch Topic
  • New Topic