Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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: 22644
123
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
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic