Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No action servlet available.

 
Don boscoo
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't look like <data-sources> is part of the struts-config.xml dtd: struts-config.xml 1.3 dtd.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic