• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

servlet action is not available

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i am new to struts for my first application i got an error "servlet action not available" how resolve this.i sending xml, jsp and java files please suggest me to solve this

++++++++++++++++++struts-config.xml+++++++++++++++

++++++++++Index.jsp Page++++++++++++

++++++++++HalloworldAction.java Page++++++++++++

++++++++++web.xml Page++++++++++++

please help me to get out of this prob.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Could you please UseCodeTags next time? See how much better your post looks after I added them.

I'll move this thread to our Struts forum.
 
Rupali Solaskar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Rob. Actually I am new to this site thats why i have those mistaks.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Rupali

i think your mistake is in struts config file and i am seeing the Action class name and from bean name is same.just check it
 
Rupali Solaskar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am new to struts for my first application i got an error "servlet action not available" how resolve this.i sending xml, jsp and java files please suggest me to solve this

++++++++++++++++++struts-config.xml+++++++++++++++


++++++++++Index.jsp Page++++++++++++



++++++++++HelloworldAction.java Page++++++++++++



++++++++++web.xml Page++++++++++++


please help me to get out of this prob.
 
Rupali Solaskar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have found some mistakes that i have corrected but still tha same problem. please help me
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<html:link action="helloWorld">Reports</html:link>

Try <html:link action="helloWorld.do">Reports</html:link>
 
Chandan Sarma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
use <html:link page="/helloWorld.do">Report</html:link>.it will call the action
 
reply
    Bookmark Topic Watch Topic
  • New Topic