Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 15:02:56 -0600
From:      Jon Brisbin <jon.brisbin@npcinternational.com>
To:        freebsd-questions@freebsd.org, Soo-Hyun Choi <soohyunc@users.sourceforge.net>
Subject:   Re: Java Server Pages
Message-ID:  <1135890176.1249.6.camel@fc63r41.npci.com>
In-Reply-To: <f64556f70512291238m39244b99pb3ed09dfdc5e9b6d@mail.gmail.com>
References:  <f64556f70512291238m39244b99pb3ed09dfdc5e9b6d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-12-29 at 20:38 +0000, Soo-Hyun Choi wrote:
> hi,
> 
> apart from apache, what sort of things do i need to get JSP (java
> server pages) working? (maybe, do i need to manually install tomcat on
> top of apache?)

It doesn't actually work that way. You install Tomcat, Jetty, JBoss,
Resin, or Enhydra (the top choices for JSP/Servlet containers)
*alongside* Tomcat. You then either access the Tomcat server on it's own
port (http://your-server:8080) or you install mod_jk in Apache and map
certain URLs or patterns to your servlet container. 

We use JBoss, but if you're just looking to do plain JSP, you can get a
tar-gz'd archive of tomcat and unzip it onto your BSD box. It's not
necessary to install it from ports.

Jetty and Resin seem like faster application servers, but I've had more
trouble getting them configured than I have Tomcat. Maybe that's because
I started with Tomcat back in the JServ days and am just more familiar
with it.

Good luck.

Jon Brisbin
Webmaster
NPC International, Inc.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1135890176.1249.6.camel>