• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet action is not available

 
Rupali Solaskar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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.
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thanks Rob. Actually I am new to this site thats why i have those mistaks.
 
Chandan Sarma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
I have found some mistakes that i have corrected but still tha same problem. please help me
 
Tagore Noo
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
use <html:link page="/helloWorld.do">Report</html:link>.it will call the action
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic