tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject AW: why use mod_webapp?
Date Fri, 01 Feb 2002 08:09:37 GMT
Most points in this discussion are not true.

Tomcat has not to listen on port 8080. Just define a second 
virtual ip an use port 80 on that ip. So you wouldn't get any 
problems with firewalls.

You don't have to provide html pages to redirect. You can do it 
with mod_alias. With that you don't need anything complicated to
do the redirect. (Especially no JavaScript)

 Redirect /servlet <second ip/domainname>
 RedirectMatch *.jsp <second ip/domainname>/$1.jsp

This is as simple as the configuration of mod_jk. 
(With mod_webapp I'm not so familiar)

The arguments I accept are:
  - 2 Requests instead of one.
  - SSL handling of apache is more efficient.
  - Linking between html and jsp pages is more complicated.
    If you want to link from a jsp to a html page you have to use 
    the domainname or the ip of the apache server in the link url.
  - Simpler user experience. With redirect the url in the location bar
    changes each time you follow a link from a html page to a jsp and
    vice versa. (This will not happen if you use a framed page.)
  - With mod_webapp you loose the aibility to define serveral setting
    just on the tomcat side. You have to define serveral things in
  - If the user disabled cookies you will loose the session each time 
    you follow a link from a html page to a jsp and vice versa.

> -----Urspr√ľngliche Nachricht-----
> Gesendet: Donnerstag, 31. Januar 2002 22:05
> An: Tomcat Users List
> Betreff: Re: why use mod_webapp?
> 1) First Apache can handle only static pages (and ofcourse SSI). So a
> redirect would mean a client side redirect. And that is with a <META
> Refresh=....> or a via Javascript "window.location". The 
2) You need to keep track of which servlet (or jsp) to redirect to. So
mean a complex html page with a lot of javascript if you plan to use a
single redirect page.

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message