This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
It is sorta covered in the JavaRanch Style Guide.
subject: No action servlet available.
Similar Threads
Query about datasource
struts with jdbc example
How to get the datasource value
Accessing context params from an Action class
struts mysql ...Help