Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes Add servlet API to netbeans? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Add servlet API to netbeans?" Watch "Add servlet API to netbeans?" New topic
Author

Add servlet API to netbeans?

adwin berkowits
Greenhorn

Joined: Feb 23, 2012
Posts: 6
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?

that is the way i use to compile

http://briggs.myweb.port.ac.uk/WEBP/notes/tools/nbservlets.htm

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
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add servlet API to netbeans?