Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Add servlet API to netbeans?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic