very !cool!

thx for sharing this.. i'm going to forward this to the
[EMAIL PROTECTED] list as well.

- james

Niels Peter Strandberg wrote:

> This mail is for all Mac users that want to get started with Java Server
> Pages on the Mac.
> This list is base on the mails I got from Mike Engelhart
> <[EMAIL PROTECTED]>. Who helped me to get my server started.
> Thanks Mike!
>
> Java Server Pages is the Java worlds answer to Active Server Pages on
> NT. Sun has made a free version witch includes a WebServer and an JSP
> engine. The package is made in 100% pure Java. So it runs on every Java
> platform, and it is free.
>
> Before you can cook you own Java Server Pages, You need to build the
> "JSP machine". And here is how to do it.
>
> 1. You need the latest MRJ from Apple. MRJ2.1 can be found here:
> http://www.apple.com/java/. After download run the installer and install
> the MRJ.
>
> 2. You also need the latest MRJ SDK 2.1 (Im using 2.0 and that works
> great), that can be found here:
> http://developer.apple.com/java/text/download.html#sdk. After download
> run the installer and install the MRJ SDK.
>
> 3. You also need the "JavaServer WDK EA (JavaServer Web Development Kit
> 1.0 EA)" from Sun. This can be found here:
> http://developer.java.sun.com/developer/earlyAccess/jsp/. I downloaded
> the Win version, but there should be no problem if you download the
> Solaris version. After you have downloaded the Zip, unzip it using ZipIt
> or StuffIt. You have to be a registered member of developer connection
> to get access to the files, but that it's free. So go ahead an register
> yourself.
>
> 4. After you have unziped the zip file, place the unziped folder
> "jswdk-1.0-ea" on the desktop. Now locate the "MRJ SDK 2.1" folder and
> open it. Inside that folder is another folder named "JBindery" and
> inside that folder an app with the same name.
>
> 5. Now launche the app "jBindery". Click on the"Command" icon and add
> this to the Class name field: "com.sun.web.shell.Startup". Leave the
> optional parameters blank.
>
> 6. Click on the "Classpath" icon. Click on the "add .zip file..." button
> and add the following files: "webserver.jar" which is in the root of
> your "jswdk-1.0-ea" folder. Also add the following files which are in
> the "lib" folder: "jsp.jar" and "jspengine.jar" and "servlet.jar"
>
> 7. Click on the "add folder..." button and ad the following folder
> "beans" locate in examples/WEB-INF/jsp/
>
> 8. Now you are ready to save these setting as an click able application.
> Click on the "Save Settings..." button, and give your "app" a name (ex.
> JSP Server) and make sure the check box "save as App" is checked. Make
> sure that you save the app in the root of the "jswdk-1.0-ea" folder.
>
> 9. Now you have embedded these setting in an application file. Now
> locate your "JSP Server" application and double click on it. Wait a few
> seconds, and your server should be up an running. The app will quit if
> it cant find a IP number. Go into your TCP/IP control panel and assign a
> permanent IP number (ex. 127.0.0.1). Then try to run the app again.
>
> 10. The JPS Server will run at port 8080 by default. You can change that
> by opening the "default.cfg" file in a text editor and change the
> "server.port" from 8080 to 80, witch is the default port for WebServers.
>
> 11. Now here is where the fun begins. Open your web browser and type in
> the IP number you assigned to you mac in the TCP/IP control panel.
> (http://127.0.0.1) or (http://127.0.0.1:8080) if you didn't change the
> port setting in the "default.cfg" file.
>
> 12. Now, explore the example and when your are ready, cook your own JSP.
>
> Regards, Niels Peter Strandberg
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to