Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > javax.servlet.*? JSWDK? Where to find for use with Tomcat 4.x?

javax.servlet.*? JSWDK? Where to find for use with Tomcat 4.x?
Thread Tools
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 5, 2001, 02:11 PM
 
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!
Since EBCDIC
Using Macs since they were Lisas.
     
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 5, 2001, 02:16 PM
 
Just to narrow the responses, I did find the older technologies page at

http://java.sun.com/products/servlet/archive.html

which points to

http://jakarta.apache.org/builds/jak...lease/v4.0-b1/

as the source of the latest and greatest. But that's what I've installed, and I don't see the JSWDK anywhere. I'm sure I'm missing something painfully obvious, but no matter how much coffee I drink nothing happens :-)

Thanks again,

------------------

Since EBCDIC
Make every post count!
Since EBCDIC
Using Macs since they were Lisas.
     
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 5, 2001, 02:23 PM
 
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).]
Since EBCDIC
Using Macs since they were Lisas.
     
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 5, 2001, 02:31 PM
 
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!
Since EBCDIC
Using Macs since they were Lisas.
     
Fresh-Faced Recruit
Join Date: Apr 2001
Location: brooklyn, ny
Status: Offline
Reply With Quote
Apr 5, 2001, 05:16 PM
 
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

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2