Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic