tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From César Martínez Cabanas <cmcaba...@cisgalicia.org>
Subject RE: .htm problem
Date Mon, 30 Jul 2001 11:24:10 GMT
sorry i dont undertand english well.


if you can explain me it with more details i can help you

i'm spanish

----- Original Message -----
From: César Martínez Cabanas <cmcabanas@cisgalicia.org>
To: <tomcat-user@jakarta.apache.org>; <andrewdrobson@netscapeonline.co.uk>
Sent: Monday, July 30, 2001 12:21 PM
Subject: RE: .htm problem


> you can use a javascript or a meta that redirect de index.html to
index.jsp
>
>
> ----- Original Message -----
> From: Andrew Robson <andrewdrobson@netscapeonline.co.uk>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Monday, July 30, 2001 12:06 PM
> Subject: Re: .htm problem
>
>
> > On Mon, 30 Jul 2001, you wrote:
> > >
> > > I have a web site to which a lot of cross-links have been built up
over
> time.  Inevitably the links are to pages with names like index.htm.  I
would
> like to change these to jsp pages, but of course I can't change the name
> without breaking the link (and losing traffic).
> > >
> > > Any ideas how I can put jsp functionality on a jsp page (I already
have
> Tomcat serving out the .htm pages and I have tried simply using an htm
page
> like a jsp page, but it doesn't work)?
> > >
> > > Many thanks for any help.
> > >
> > > Mark
> > >
> >
> > Mark,
> >   All I can suggest is the obvious. Write a program to do a global
search
> and
> > replace (if you are on Linux a little sed script should do the trick).
Put
> in
> > your index.jsp, run your program to change all references in your html
> from
> > index.htm to index.jsp, test your links and then archive your index.htm
> page.
> >
> > andrew
> >
>


Mime
View raw message