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 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
Author

No action servlet available.

Don boscoo
Greenhorn

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.

Thanks.
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: http://aspose.com/file-tools
 
subject: No action servlet available.
 
Similar Threads
struts mysql ...Help
Query about datasource
struts with jdbc example
Accessing context params from an Action class
How to get the datasource value