tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ALEXANDROS KOTSIRAS" <ALEXANDRO...@prodigy.net>
Subject Re: JSERV Differences
Date Wed, 31 May 2000 21:17:34 GMT
FYI i am using both JServ1.1 and Tomcat 3.1 with the same Apache server.
I kept the existing jserv module of Jserv1.1 and it works fine with Tomcat
on both Solaris2.6 and WinNT.
Then i only had to add the new Zone definitions for the Tomcat projects in
my existing jserv.conf file.
You have to tell Tomcat to listen to adifferent connector port (eg. 8009 in
server.xml) since the 8007 is taken by JServ and in your
zone definitions for Tomcat in jserv.conf define explicitly that port number
as well.
If you do not plan to upgrade the source code of your JServ projects and use
2.1/2.1 API classess then this solution might be usefull.
Also note that in case you are doing session tracking in your JServ apps
with encodeUrl, encodeRedirectUrl this does not work in Tomcat.

----- Original Message -----
From: Michael Quinn <mquinn@myturn.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, May 31, 2000 1:00 PM
Subject: JSERV Differences


> Our site is written with JSERV, but I want to convert it completely to
> Tomcat, and get rid of JSERV.
>
> There are, however several differences.
> For example, the parser for Tomcat doesn't like multiple include
directives
> for the same file.  Our site uses these multiple include directives, so
each
> of them will have to be changed to a jsp:include tag.
> Also it seems that the page import directive must include all component
> libraries in one directive.  It was crapping out on more than one page
> import directive.
>
> My solution: put it all in one page directive.
>
> I.E.
>
> <%@ page import="java.util.*,java.sql.*" %>
>
> INSTEAD OF
> <%@ page import="java.util.*" %>
> <%Some code %>
> <%@ page import="java.sql.*" %>
>
>
> The latter works with JSERV, but not with TOMCAT.
>
> Are there any documents anywhere that I can find that will detail the
> difference between between these two jsp containers?
> It would be nice to have some kind of reference for such a large
transition.
>
>
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


Mime
View raw message