struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonu S" <>
Subject error in mapping
Date Fri, 25 Aug 2006 13:33:01 GMT
hi 2 all,

I am using dynaValidatiorForm in my application. i am getting some error
related to mapping. i checked my code everything seems to be ok. My code is.

in struts config:

  <form-bean name="MyForm" type="
   <form-property name="text1" type="java.lang.String">
   <form-property name="text2" type="java.lang.String">
   <form-property name="submitaction" type="java.lang.String">

 <action path="/MyApp"
    name="MyForm"  scope="request"
    validate="false" input="/jsp/index.jsp">
   <forward name="success" path="/jsp/submit.jsp" />
   <forward name="error" path="/jsp/error.jsp" />

 in JSP i am giving

<html:form action="/MyApp">
 <!-- some html tags -->
  <html:submit property="submitaction" value="Submit" />
  <html:submit property="submitaction" value="Reset" />
 <!-- some html tags -->

in web browser i am getting

400 Invalid path was requested

and on console i am getting someting like

RequestProces E org.apache.struts.action.RequestProcessor  Invalid path  was

i hope i will get solution in group

with regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message