first J2EE application
I just installed java webserver and its up and running,I want to practice some servlet programming but don't know where exactly to store all my files(.class). Neither do I know how to deploy a web application. I visited sun.com to and read their documentation, but it didn't help. Can you help me ?
You'll need to create a war file that contains the components of your web application, like servlets, jsps and html files. The J2EE SDK has tools to create this kind of file. Basically it is a zipped directory structure. An important file in the war is web.xml. This file describes your application to the server: what components are there, how are servlets mapped on URLs etc. Read the J2EE tutorial and it will become much clearer.