RE: JSP and servlets Beginner
RE: JSP and servlets Beginner
- Subject: RE: JSP and servlets Beginner
- From: "MacMullin, Jake (DCS)" <email@hidden>
- Date: Mon, 28 Apr 2003 08:10:35 +0930
It is possible to deploy a WebObjects application without installing
WebObjects on the server (but you will still need a license). In order to
deploy a WebObjects application as a servlet, you will need a Java
application server running (like Tomcat). Tomcat is not included with
WebObjects - you need to download and install it seperately. This article,
http://developer.apple.com/internet/java/tomcat1.html, provides instructions
in how to install, configure and run Tomcat (google: "mac os x" tomcat).
Once you have Tomcat runnning, follow the instructions in the
JSP_And_Servlets.pdf documentation. It is easiest to create a servlet based
application from scratch - just tick the appropriate box when you first
create your application in Project Builder. If you do this, the only thing
you have to do by hand is tell Project Builder where to put your
servlet-based web application. The instructions for this step are on page 16
of the JSP_And_Servlets.pdf documentation. Basically, you have to go in to
'Expert' mode in the 'Build' options and set the SERVLET_WEBAPPS_DIR to
where you want to put the web apps (/Library/Tomcat/webapps for Tomcat).
Finally, launch your browser and point it at
http://localhost:8080/YourAppName/WebObjects/YourAppName.woa to access the
servlet version of your WebObjects application.
HTH,
Jake MacMullin
This e-mail is personal. It is not authorised by, nor sent on behalf of, the
Government of South Australia.
-----Original Message-----
From: Andre Olivier [mailto:email@hidden]
Sent: Wednesday, 23 April 2003 7:24 PM
To: email@hidden
On Monday, April 14, 2003, at 10:18 PM, Andre Olivier wrote:
> After investigating the feature set of WO I saw that it is possible to
> develop and deploy WO Apps on a J2EE server without having to install
> a deployment licence on that machine with servlets and JSP.
> Logistically I will be unable to do it otherwise.
>
> Unfortunately, I have been going through the PDF file for servlets and
> I am left in a void. When I build my apps I am unable to access the
> jsp file that I have created. Something about TOMCAT I think that is
> missing or not running. Do I need to install Tomcat or is it running
> alreadty like Openbase. The second thing is, do I have to manually
> create the .jsp pages for my app?
>
> Andre
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
>
>
I have installed Tomcat 3.3 and have it up and running. How do I configure
Webobjects to use the class path for the Tomcat development?
Is there settings in the Tomcat directory that I need to amend to use a
Webobjects path. There is a dir /library/tomcat/webapps. Is this used by
WO? Do I need to amend Tomcat to use this as well. This is all still very
confusing.
Andre
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.