This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
i have downloaded j2sdk1.4 from the internet.now i am trying to run a simple servlet program using servlet runner.but i cudnt trace the servlet runner file.can any1 plz help me how to run a servlet prog. through j2sdk1.4
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
If I were you, I would not use that servlet runner. I would download tomcat from www.apache.org
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
U cannot run a servlet using j2sdk1.4. j2sdk1.4 (JAVA SOFTWARE DEVLOPMENT KIT V1.4) is different jsdk (JAVA SERVLET DEVLOPMENT KIT). Solution - Use Tomcat.
Along with Tomcat (or any other web server), you will need the servlet classes to compile your code. I recommend getting the J2EE kit available from Sun. You could also get the latest version of the Java Servlet Development Kit (JSDK), which is a subset of the J2EE. Servlets are just classes. J2EE compliant Web Servers (Tomcat is one of many) actually instanciate and run your servlets. Tomcat is free and very easy to use.