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 > JSP on OS X?

JSP on OS X?
Thread Tools
Mac Enthusiast
Join Date: Nov 2001
Location: Washington, DC 20009
Status: Offline
Reply With Quote
Apr 10, 2003, 09:16 AM
 
I wondering what most people use to develop JSP pages on OS X. I've come across the iTools suite, but since I'm going to be using this just to learn the technology, I can't justify forking over a couple hundred dollars.

What do I need to server JSP pages locally on my TiBook? I've heard something about Tomcat, but is that a Windows only application? I'm sure there are solutions to setting up JSP, but I'd prefer one that is free and has all the functionality a live production server would have on it.

Thanks for the help.
Just my $.02 :-)
Ti Powerbook 1Ghz w/ Superdrive ......and lovin' it! :)
     
Registered User
Join Date: Sep 2002
Location: New York City
Status: Offline
Reply With Quote
Apr 10, 2003, 09:55 AM
 
Originally posted by milf:
I wondering what most people use to develop JSP pages on OS X. I've come across the iTools suite, but since I'm going to be using this just to learn the technology, I can't justify forking over a couple hundred dollars.

What do I need to server JSP pages locally on my TiBook? I've heard something about Tomcat, but is that a Windows only application? I'm sure there are solutions to setting up JSP, but I'd prefer one that is free and has all the functionality a live production server would have on it.

Thanks for the help.
Tomcat is free. You can find out more at: http://jakarta.apache.org/

You can use any text editor for creating the code. In the BSD Unix environment, "vi" is a popular editor. In the Mac environment, BBEdit is a popular one.

check out: http://developer.apple.com/internet/java/tomcat1.html
     
Junior Member
Join Date: Dec 2001
Location: Sweden
Status: Offline
Reply With Quote
Apr 10, 2003, 01:47 PM
 
Aaron Faby at Server Logistics has some nice packages for OS X. One of them being Tomcat 4.1.18.

You can get the at www.aaronfaby.com

//megus
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 10, 2003, 10:02 PM
 
Tomcat is the way to go. If you are UNIX saavy, you can get it here:

http://jakarta.apache.org/tomcat/

Get the latest release of version 4.


If you're NOT UNIX saavy, there is a really nice, free Mac GUI version called Schroedinger, available here:

http://www.micromata.de/en/M_tec/schroedinger/

It is pretty cool and will let you get started writing jsp pages very quickly.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
milf  (op)
Mac Enthusiast
Join Date: Nov 2001
Location: Washington, DC 20009
Status: Offline
Reply With Quote
Apr 11, 2003, 10:35 AM
 
Thanks for the response. I have Tomcat up and running on my TiBook, so I am now able to server JSP pages. I wrote a couple of simple servlets that work fine, but I am having trouble getting them to be found. If I compile and run my servlet from Tomcat's examples directory /examples/servlet/*, the servlet runs fine. I wanted, however, to put the servlet in /calendar/*, but for some reason it is never found there. I think this has something to do with the web.xml file that is found in the WEB-INF folder, but I'm a newbie and don't quite know how to configure this yet. I guess I have some reading to catch up on. Any insight?
Just my $.02 :-)
Ti Powerbook 1Ghz w/ Superdrive ......and lovin' it! :)
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 11, 2003, 11:32 AM
 
Originally posted by milf:
I think this has something to do with the web.xml file that is found in the WEB-INF folder, but I'm a newbie and don't quite know how to configure this yet. I guess I have some reading to catch up on. Any insight?
This article tells you how to do what you want:

http://www.onjava.com/pub/a/onjava/2...19/tomcat.html

This one does too:

http://developer.apple.com/internet/java/tomcat1.html
(Last edited by Arkham_c; Apr 11, 2003 at 11:46 AM. )
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
   
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 03:22 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