aspose file tools*
The moose likes Servlets and the fly likes Servlet problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet problem" Watch "Servlet problem" New topic
Author

Servlet problem

indrajit bose
Greenhorn

Joined: Nov 29, 2001
Posts: 13
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: 1510
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
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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.


Groovy
Ken Robinson
Ranch Hand

Joined: Jul 25, 2002
Posts: 52
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet problem