</struts-config> the problem is :- when i comment out the data sources tag, it works properly,but when i remove those comments, it gives me the login form where i enter username and password and clicks on submit button. when i click on submit button,it gives the following error:-
Do your server logs indicate an exception when you deploy the app? Which version of Struts are you using? Are you using a validating XML editor so you can make sure your config file doesn't have errors?
The portion of the log you've posted doesn't include a java.lang.ClassNotFoundException. Show us the actual message as it appears in your log along with the first few lines of the stack trace that follows it.
Also, please read question 8 of this forum's FAQ for some cautionary information about using the Struts DataSource.