I am trying to develop a small application using
struts framework. For data base I am using MySQL-5.1.
Struts-config.xml contents are as follows -
But when I run the Login page & try to access the dabase, it is givig me the following error -
I am not getting y it is happening.
The code in Action class is as follows -
What could be the reason?