i have similar problem were can i get the servlet jar ?, and how can i add it to class path in netbeans ?
,can i get from your answer that servelt is being compile as a regular java project and not by picking the servlet file type?
the problem is that its create also an index.jsp in addtion to the servlet build
tell me if you succeed because i cant succeed running the servlet via tomcat
Which NetBean package did you download? It is best to get the one identified for Java EE. The Java SE package will not support servlet development without downloading additional extensions.
If you downloaded the Java EE package, then if you create a Web Application (File | New Project | Java Web | Web Application), then NetBeans will automatically provide the servlet AP.