File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes servlet action is not available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "servlet action is not available" Watch "servlet action is not available" New topic
Author

servlet action is not available

Rupali Solaskar
Greenhorn

Joined: Nov 21, 2011
Posts: 4
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

Joined: Oct 27, 2005
Posts: 19543
    
  16

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Rupali Solaskar
Greenhorn

Joined: Nov 21, 2011
Posts: 4
Thanks Rob. Actually I am new to this site thats why i have those mistaks.
Chandan Sarma
Greenhorn

Joined: Oct 04, 2011
Posts: 14
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

Joined: Nov 21, 2011
Posts: 4
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

Joined: Nov 21, 2011
Posts: 4
I have found some mistakes that i have corrected but still tha same problem. please help me
Tagore Noo
Greenhorn

Joined: Nov 29, 2011
Posts: 4
<html:link action="helloWorld">Reports</html:link>

Try <html:link action="helloWorld.do">Reports</html:link>
Chandan Sarma
Greenhorn

Joined: Oct 04, 2011
Posts: 14
use <html:link page="/helloWorld.do">Report</html:link>.it will call the action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet action is not available
 
Similar Threads
How to user Struts Tags in a WebApplication
Once more: javax.servlet.jsp.JspException: Cannot find bean
error comes while running the struts application please see the source code for detail
Parsing error processing resource path /WEB-INF/struts-config.xml
error while creating struts application