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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1506
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: 8898

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet problem
 
Similar Threads
Struts 1.1 help
Tomcat won't startup anymore.
what's JRE for ?
Setting Path and Classpath?
Changing the color of a String...