Check your server logs and/or console for error messages. It's likely your DB configuration is failing, causing the application startup to fail.
Also, depending on what version of Struts 1 you're using, the <data-source> element may not be the recommended way (or even supported way, it was removed at some point but I don't recall when) to configure your application's data source.
Joined: Nov 14, 2008
Thanks David, But i have to use the data source in my application so i required to use data source code in my strutsconfig.xml. In my server log i am getting this error- Loading application resources from resource resources.application Initializing configuration from resource path /WEB-INF/struts-config.xml Initializing application data source org.apache.struts.action.DATA_SOURCE Exception initializing application data source org.apache.struts.action.DATA_SOURCE java.sql.SQLException: open: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver