tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohanm <kohan.mass...@gmail.com>
Subject Re: Context or Mapping problems Apache 2.2 +mod_JK+ Tomcat 5.5
Date Thu, 24 Jul 2008 19:01:49 GMT
In my first email I copied(short)  the mod_jk configuration in httpd.conf
file.

Mk



On 7/24/08, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
>
> > From: kohanm [mailto:kohan.massoud@gmail.com]
> > Subject: Re: Context or Mapping problems Apache 2.2 +mod_JK+
> > Tomcat 5.5
> >
> > The webaplication is done now, but my boss asked me to change the name
> > of URL webapplication. IF I change the directory name than there are
> > many jsp pages with many links  with old name's webapplication.
>
> Now the true problem comes out - the webapp name is hardcoded within the
> webapp; that's extremely bad practice.  I assume fixing those won't be an
> easy task.
>
> In this case, you're stuck with needing to deploy the webapp in the
> directory corresponding to the old name; there's no way around that.  You
> can write a filter or valve in Tomcat that forwards or redirects all
> requests for the new name to the old one.  You should also be able to do
> that with mod_jk directives, but someone else will have to help with that.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
Massoud

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message