Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 4213 invoked by uid 500); 30 Jul 2001 11:22:39 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4206 invoked from network); 30 Jul 2001 11:22:38 -0000 Received: from unknown (HELO mailuno.cisgalicia.org) (101@212.166.187.7) by h31.sny.collab.net with SMTP; 30 Jul 2001 11:22:38 -0000 Received: from localhost (localhost [127.0.0.1]) by mailuno.cisgalicia.org (Postfix) with SMTP id D9D6112ACD for ; Mon, 30 Jul 2001 13:22:01 +0200 (CEST) Received: from redescmc (unknown [10.0.1.57]) by mailuno.cisgalicia.org (Postfix) with SMTP id 059A312A51 for ; Mon, 30 Jul 2001 13:22:01 +0200 (CEST) Message-ID: <029801c118ea$2f7c1740$3901000a@cisgalicia.org> From: =?iso-8859-1?Q?C=E9sar_Mart=EDnez_Cabanas?= To: References: <002f01c118cd$b33d8400$6502000a@dulwich.muffett.net> <01073011115809.00675@localhost.localdomain> <025801c118e1$606eb1e0$3901000a@cisgalicia.org> Subject: RE: .htm problem Date: Mon, 30 Jul 2001 13:24:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 To: ; 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 > To: > 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 > > >