Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compling servlets

 
vikky vikky
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do we need to compile servlets? I installed JDK1.4.1. what else is need to complie servlets. how to go from there?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Servlets are part of the J2EE specification, so you'll probably need the J2EE distribution.
 
Wayne L Johnson
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you can download the servlet JAR file separately: servlet download .
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, I just use the servlet.jar file myself. I think if you drop it into the lib directory under your SDK installation it should work. Whether it needs to be in the jre aswell depends on where you are running the servlet I think. I compile servlets locally then upload them to a separate web server for example, so I only need to compile them on my own PC - tomcat takes care of the running it side of things.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Servlets forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic