File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes ERROR-HTTP Status 500 - Action[/testimonialsMain] does not contain method named view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ERROR-HTTP Status 500 - Action[/testimonialsMain] does not contain method named view" Watch "ERROR-HTTP Status 500 - Action[/testimonialsMain] does not contain method named view" New topic
Author

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

jenni john
Greenhorn

Joined: Feb 20, 2008
Posts: 2
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

Joined: Jul 21, 2004
Posts: 169
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
 
subject: ERROR-HTTP Status 500 - Action[/testimonialsMain] does not contain method named view