Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet problem

 
indrajit bose
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I were you, I would not use that servlet runner. I would download tomcat from www.apache.org
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ken Robinson
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic