 |
 |
javax.servlet.*? JSWDK? Where to find for use with Tomcat 4.x?
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
I've got Tomcat 4.0b1 running under Mac OS X. Great. But I can't compile any servlets because it claims not to find the javax.servet.* classes.
Are these included, or part of the Mac OS X dev tools (installed) and is my classpath incorrect? I can't find any .class or .jar file to give me a hint.
Or are they available somewhere on the net, where I haven't been yet? I resolved the wierdness between JSDK == JSWDK, but sadly that didn't help. And I haven't found any posts anywhere on these fora which give the answer.
Help would me terribly appreciated. Many, many thanks.
------------------
Since EBCDIC
Make every post count!
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Okay, okay, okay :-) The coffee finally worked.
I just realized that the jakarta-servletapi-4.0-b1.* in the latter directory contains the classes I need. I haven't installed it (yet) but I presume this solves my problem.
If not, I'll be posting yet another reply to me :-)
------------------
Since EBCDIC
Make every post count!
[This message has been edited by Since EBCDIC (edited 04-05-2001).]
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
Hey, it's me :-)
The release comes with doc, lib, and src directories. There's no meta-documentation, so I'm having trouble deciding what I need to move into my Java development tree: the lib/servlets.jar or the entire scr/javax/*.class hierarchy.
If nobody but me replies to this :-) then I'll play around and see what works, but I'd rather have a leisurely lunch and get the answer from someone else.
Mmmmmmm. Lunch.
------------------
Since EBCDIC
Make every post count!
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2001
Location: brooklyn, ny
Status:
Offline
|
|
I got jsp/servlets working with jakarta-tomcat. just make sure servlet.jar is in your classpath. I put mine in /system/library/java. or you can manually add it to your servlet project in Project Builder. I had to jump through some unix hoops to set the classpath. i actually had to create a .tcshrc file in my home directory with the command
setenv CLASSPATH /System/Library/java
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |