File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ERROR-HTTP Status 500 - Action[/testimonialsMain] does not contain method named view

 
jenni john
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found this error while running my project......

HTTP Status 500 - No action instance for path /testimonialsMain could be created

--------------------------------------------------------------------------------

type Status report

message No action instance for path /testimonialsMain could be created

description The server encountered an internal error (No action instance for path /testimonialsMain could be created) that prevented it from fulfilling this request.



i am attching my codes here...........







user-struts-config.xml
<action path="/testimonialsMain" type="com.converge.tatpublic.action.testimonialsMainAction" parameter="method">
<forward name="display" path="view">
</forward>
</action>

userTileDefinitions.xml
<definition name="testimonialsMain" extends="userStaticBaseDef">
<put name="body" value="../jsp/user/testimonials.html"/>
</definition>



[BPSouther: Added code tags]
[ March 19, 2008: Message edited by: Ben Souther ]
 
Srilakshmi Vara
Ranch Hand
Posts: 169
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This error comes when one of the primary files are missing in struts action. Check did you declared the form, which is used in the action.

Check all the files are there or not which are getting used in the action tag.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic