• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic