• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What's the different between JWSDP and JSWDK?

 
Richard Phen
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the JWSDP a higher version of JSWDK? It includes Tomcat, but why I can't compile a servlet under it. I set the classpath=C:\jwsdp-1_0\common\lib\servlet.jar;C:\jwsdp-1_0\common\lib\jasper-compiler.jar;. After I restart my WinXp(home edition) and compile the sample HelloWorld.java(servlet) I get compile errors: package javax.Servlet does not exist. What's wrong? Could you help me to fix this problem? Thanx!
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because it's javax.servlet not javax.Servlet ?
[ June 25, 2002: Message edited by: Mike Curwen ]
 
Richard Phen
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I double checked the JWSDP directory and only found the servlet in \jwsdp-1_0\common\lib. Is that mean that I used a wrong tool? If so, What's the different between JWSDP and JSWDK?
 
Richard Phen
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mike Curwen:
Because it's javax.servlet not javax.Servlet ?
[ June 25, 2002: Message edited by: Mike Curwen ]

Thanks mike! I catched your meaning and fixed the problem after I re-readed your message. Since the sample servlet code is form a Book, and it shows me , which let me confuse.
Anyway, Thanks a lot!
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.

Someone should sack the technical editor for that book.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic