aspose file tools*
The moose likes Servlets and the fly likes What's the different between JWSDP and JSWDK? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What Watch "What New topic
Author

What's the different between JWSDP and JSWDK?

Richard Phen
Ranch Hand

Joined: Apr 27, 2002
Posts: 52
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!


SCJP<br />SCJD
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Because it's javax.servlet not javax.Servlet ?
[ June 25, 2002: Message edited by: Mike Curwen ]
Richard Phen
Ranch Hand

Joined: Apr 27, 2002
Posts: 52
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

Joined: Apr 27, 2002
Posts: 52
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

Joined: Feb 20, 2001
Posts: 3695

No problem.

Someone should sack the technical editor for that book.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What's the different between JWSDP and JSWDK?