TO Run Servlets in Compand prompt.. you have to creat the following directory structure in your Tomcat folder where u have installed Tomcat.Generaaly in C drive we will install tomcat
C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\WEB-INF
we will have upto webapps folder
in web apps folder we need to creat web-inf folder and in that(web-inf) folder again we have to creat two folders like "CLASSES" and "LIB"
in Classes folder we have to copy all our .class files . And in web-inf we have to creat .xml file and hope you know how to create that file.
Now go to browzer and request(give url)
i never used NETBEANS
instead i used Eclipse...
well if u ahve any queries regarding the solved problem still write to me firstname.lastname@example.org
coz its office hour and i cant use it .... i knw u can understand it..
have great time..
all the best..