ok bye.....
Hi,
Install the apache_tomcat.exe if you have in your local drives eg:c:\Tomcat5.0 ,then go to the webapps folder and create a folder of yourself and create the folder as I have shown c:\Tomcat5.0\webapps\Your Folder\WEB-INF\classes ,then place your source files in WEB-INF folder ,complile your src files to classes file,after that place the jsp and html and other image files outside the WEB-INF folder and configure web.xml to your folder,and copy that to your folder .....thats it now you can run your application by starting the server and Internet Explorer...
Hi,
I think the problem with your connection is with the url used in your program the url should be
jdbc:mysql://localhost:port/query
and also do check with the loading driver and for the jar file which should be placed in tomcat_home/common/lib.
Bye..............