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

No action servlet available.

Don boscoo

Joined: Sep 20, 2010
Posts: 28
Hi all,

When i added the datasource in struts-config.xml. It says No action servlet available on the page. The code i have is:

The action class is below:

Before adding this, the other actions work fine, But when i add this it says same for all other actions"No action servlet available". Initially, I just wanted to test the database connection.

Please Help.

Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349
It doesn't look like <data-sources> is part of the struts-config.xml dtd: struts-config.xml 1.3 dtd.
I agree. Here's the link:
subject: No action servlet available.
It's not a secret anymore!