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.