File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Servlet action is not available

mahendranag manchinasetty

Joined: Dec 30, 2008
Posts: 4
HTTP Status 404 - Servlet action is not available


type Status report

message Servlet action is not available

description The requested resource (Servlet action is not available) is not available.


Apache Tomcat/5.5.16

this is my error when iam adding data-source in struts-config.xml,,when i remove data-source it is working .how can i sloce this error ..any body give me sugesstion
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62576

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
David Newton

Joined: Sep 29, 2008
Posts: 12617

You've provided almost zero information with which we can help you--I'm not sure what you expect.

Things like... what version of Struts you're using. That's important, because the data-source element was deprecated, then removed. So for some versions of Struts it's not allowed.

Things like... the log file showing the error/exception. In this case it'll say something about your config file not matching the DTD.
It is sorta covered in the JavaRanch Style Guide.
subject: Servlet action is not available