Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoke JSP? JSDK2.1 & TomCat?

 
Linda Xu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am a newbie to Java Servlet and JSP.
I installed the JSDK2.1 to my PC (OS is Windows NT), and I can run the servlet successfully using: http://localhost:8080/servlet/servletName
But when I try to invoke a jsp1.jsp file which exists under the servlet directory. I got the following error information:
Error: 404
No detailed message
Anything else do I need to install to invoke the jsp file?
I saw many people talk about TomCat here. What's the difference between JSDK2.1 and TomCat (maybe a stupid question )? Can I invoke JSP without TomCat, my hard disk is almost full.
Thanks!
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13077
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSDK is NOT the current best way to develop servlets and JSP.
Sun turned over the code to the Apache organization for creation of the "reference" version of servlets and JSP.
JSDK implements the 2.1 version of the servlet API, and as far as I know will not be updated. It also does not implement the current 1.1 version of the JSP API.
Engineers from Sun are working on Tomcat version 4.0 which will implement the 2.3 servlet API and 1.2 JSP API - these add some new goodies you will want to keep up witn.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic