Re: .htm problem

2001-08-02 Thread Mykola A. Nickishov

And what about using Apache+mod_rewrite for static content?

Deacon Marcus [EMAIL PROTECTED] writes:

 Hi,
 Check your web.xml, you have
 
   !-- The mapping for the JSP servlet --
   !-- Comment this out if you do not want jsp service --
   servlet-mapping
 servlet-namejsp/servlet-name
 url-pattern*.jsp/url-pattern
   /servlet-mapping
 
 In your global (conf\web.xml) web.xml. You can add similar mapping:
 
   servlet-mapping
 servlet-namejsp/servlet-name
 url-pattern*.htm/url-pattern
   /servlet-mapping
   servlet-mapping
 servlet-namejsp/servlet-name
 url-pattern*.html/url-pattern
   /servlet-mapping
 
 To either conf\web.xml to have it active for every web app or to
 WEB-INF\web.xml for specific web apps.

-- 
ICQ #83060237
MAN-UANIC NIK6-RIPE



Re: .htm problem

2001-07-30 Thread Andrew Robson

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




RE: .htm problem

2001-07-30 Thread César Martínez Cabanas

you can use a javascript or a meta that redirect de index.html to index.jsp


- Original Message -
From: Andrew Robson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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





Re: .htm problem

2001-07-30 Thread Mark Muffett

Thanks, but I don't think it will work for my purposes - I want to log the
refering site and I think I'll lose the info if I do that.

Regards

Mark

- Original Message -
From: César Martínez Cabanas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 11:21 AM
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 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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
 





Re: .htm problem

2001-07-30 Thread harri.paivaniemi


Just start using some good website editor (Dreamweaver 4). Make a new site
there for your content and let Dreamweaver examine links and change
filenames.

Of course world is full of different kind of sed/awk/vi- tricks, but in
serious website maintenance you really should use an editor.

-Harry


  
Mark 
Muffett To:  
markm@its-ax[EMAIL PROTECTED] 
iom.com cc:  
 Subject: Re: .htm problem
30.07.2001
14:04 
Please
respond to
tomcat-user   
  
  




Thanks, but I don't think it will work for my purposes - I want to log the
refering site and I think I'll lose the info if I do that.

Regards

Mark

- Original Message -
From: César Martínez Cabanas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 11:21 AM
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 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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
 








RE: .htm problem

2001-07-30 Thread César Martínez Cabanas

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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 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
 





Re: .htm problem

2001-07-30 Thread Mark Muffett

No good - the links are from the outside world and I have no control over
them.

Mark

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 12:20 PM
Subject: Re: .htm problem



 Just start using some good website editor (Dreamweaver 4). Make a new site
 there for your content and let Dreamweaver examine links and change
 filenames.

 Of course world is full of different kind of sed/awk/vi- tricks, but in
 serious website maintenance you really should use an editor.

 -Harry



 Mark
 Muffett To:
 markm@its-ax[EMAIL PROTECTED]
 iom.com cc:
  Subject: Re: .htm problem
 30.07.2001
 14:04
 Please
 respond to
 tomcat-user






 Thanks, but I don't think it will work for my purposes - I want to log the
 refering site and I think I'll lose the info if I do that.

 Regards

 Mark

 - Original Message -
 From: César Martínez Cabanas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 11:21 AM
 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 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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
  
 








Re: .htm problem

2001-07-30 Thread harri.paivaniemi


Ok,

... but why not just use symbolic links from index.html to index.jsp aso.

-Harry




  
Mark 
Muffett To:  
markm@its-ax[EMAIL PROTECTED] 
iom.com cc:  
 Subject: Re: .htm problem
30.07.2001
14:40 
Please
respond to
tomcat-user   
  
  




No good - the links are from the outside world and I have no control over
them.

Mark

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 12:20 PM
Subject: Re: .htm problem



 Just start using some good website editor (Dreamweaver 4). Make a new
site
 there for your content and let Dreamweaver examine links and change
 filenames.

 Of course world is full of different kind of sed/awk/vi- tricks, but in
 serious website maintenance you really should use an editor.

 -Harry



 Mark
 Muffett To:
 markm@its-ax[EMAIL PROTECTED]
 iom.com cc:
  Subject: Re: .htm problem
 30.07.2001
 14:04
 Please
 respond to
 tomcat-user






 Thanks, but I don't think it will work for my purposes - I want to log
the
 refering site and I think I'll lose the info if I do that.

 Regards

 Mark

 - Original Message -
 From: César Martínez Cabanas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 11:21 AM
 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 [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  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
  
 











Re: .htm problem

2001-07-30 Thread Mark Muffett

Tried it (in fact that's what I'm doing pro temp, but it doesn't function as
I would like).

I have index.htm as a link to index.jsp.

If I directly select index.jsp it works as expected, of course.  If I select
index.htm, the jsp code is not processed (you can see it if you try to view
the source in the browser).

Any ideas?

Mark

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 12:48 PM
Subject: Re: .htm problem



 Ok,

 ... but why not just use symbolic links from index.html to index.jsp aso.

 -Harry





 Mark
 Muffett To:
 markm@its-ax[EMAIL PROTECTED]
 iom.com cc:
  Subject: Re: .htm problem
 30.07.2001
 14:40
 Please
 respond to
 tomcat-user






 No good - the links are from the outside world and I have no control over
 them.

 Mark

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 12:20 PM
 Subject: Re: .htm problem


 
  Just start using some good website editor (Dreamweaver 4). Make a new
 site
  there for your content and let Dreamweaver examine links and change
  filenames.
 
  Of course world is full of different kind of sed/awk/vi- tricks, but in
  serious website maintenance you really should use an editor.
 
  -Harry
 
 
 
  Mark
  Muffett To:
  markm@its-ax
[EMAIL PROTECTED]
  iom.com cc:
   Subject: Re: .htm problem
  30.07.2001
  14:04
  Please
  respond to
  tomcat-user
 
 
 
 
 
 
  Thanks, but I don't think it will work for my purposes - I want to log
 the
  refering site and I think I'll lose the info if I do that.
 
  Regards
 
  Mark
 
  - Original Message -
  From: César Martínez Cabanas [EMAIL PROTECTED]
  To: [EMAIL PROTECTED];
 [EMAIL PROTECTED]
  Sent: Monday, July 30, 2001 11:21 AM
  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 [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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
   
  
 
 
 
 








RE: .htm problem

2001-07-30 Thread Deacon Marcus

Hi,
Check your web.xml, you have

  !-- The mapping for the JSP servlet --
  !-- Comment this out if you do not want jsp service --
  servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.jsp/url-pattern
  /servlet-mapping

In your global (conf\web.xml) web.xml. You can add similar mapping:

  servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.htm/url-pattern
  /servlet-mapping
  servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.html/url-pattern
  /servlet-mapping

To either conf\web.xml to have it active for every web app or to
WEB-INF\web.xml for specific web apps.

Greetings, deacon Marcus


 -Original Message-
 From: Mark Muffett [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 30, 2001 1:40 PM
 To: [EMAIL PROTECTED]
 Subject: Re: .htm problem


 No good - the links are from the outside world and I have no control over
 them.

 Mark

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 12:20 PM
 Subject: Re: .htm problem


 
  Just start using some good website editor (Dreamweaver 4). Make
 a new site
  there for your content and let Dreamweaver examine links and change
  filenames.
 
  Of course world is full of different kind of sed/awk/vi- tricks, but in
  serious website maintenance you really should use an editor.
 
  -Harry
 
 
 
  Mark
  Muffett To:
  markm@its-ax
 [EMAIL PROTECTED]
  iom.com cc:
   Subject: Re: .htm problem
  30.07.2001
  14:04
  Please
  respond to
  tomcat-user
 
 
 
 
 
 
  Thanks, but I don't think it will work for my purposes - I want
 to log the
  refering site and I think I'll lose the info if I do that.
 
  Regards
 
  Mark
 
  - Original Message -
  From: César Martínez Cabanas [EMAIL PROTECTED]
  To: [EMAIL PROTECTED];
 [EMAIL PROTECTED]
  Sent: Monday, July 30, 2001 11:21 AM
  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 [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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
   
  
 
 
 
 





RE: .htm problem

2001-07-30 Thread Randy Layman


Why don't you just map the index.htm file to index.jsp?  Craig
posted an example of how to do this over the weekend so you should be able
to find it in the list archives.

Randy

 -Original Message-
 From: Mark Muffett [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 30, 2001 8:05 AM
 To: [EMAIL PROTECTED]
 Subject: Re: .htm problem
 
 
 Tried it (in fact that's what I'm doing pro temp, but it 
 doesn't function as
 I would like).
 
 I have index.htm as a link to index.jsp.
 
 If I directly select index.jsp it works as expected, of 
 course.  If I select
 index.htm, the jsp code is not processed (you can see it if 
 you try to view
 the source in the browser).
 
 Any ideas?
 
 Mark
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 12:48 PM
 Subject: Re: .htm problem
 
 
 
  Ok,
 
  ... but why not just use symbolic links from index.html to 
 index.jsp aso.
 
  -Harry
 
 
 
 
 
  Mark
  Muffett To:
  markm@its-ax
 [EMAIL PROTECTED]
  iom.com cc:
   Subject: Re: 
 .htm problem
  30.07.2001
  14:40
  Please
  respond to
  tomcat-user
 
 
 
 
 
 
  No good - the links are from the outside world and I have 
 no control over
  them.
 
  Mark
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, July 30, 2001 12:20 PM
  Subject: Re: .htm problem
 
 
  
   Just start using some good website editor (Dreamweaver 
 4). Make a new
  site
   there for your content and let Dreamweaver examine links 
 and change
   filenames.
  
   Of course world is full of different kind of sed/awk/vi- 
 tricks, but in
   serious website maintenance you really should use an editor.
  
   -Harry
  
  
  
   Mark
   Muffett To:
   markm@its-ax
 [EMAIL PROTECTED]
   iom.com cc:
Subject: Re: 
 .htm problem
   30.07.2001
   14:04
   Please
   respond to
   tomcat-user
  
  
  
  
  
  
   Thanks, but I don't think it will work for my purposes - 
 I want to log
  the
   refering site and I think I'll lose the info if I do that.
  
   Regards
  
   Mark
  
   - Original Message -
   From: César Martínez Cabanas [EMAIL PROTECTED]
   To: [EMAIL PROTECTED];
  [EMAIL PROTECTED]
   Sent: Monday, July 30, 2001 11:21 AM
   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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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

   
  
  
  
  
 
 
 
 
 



Re: .htm problem

2001-07-30 Thread Harri Päiväniemi

Oh yes,

Jsp- code is not processed, of course.

If you are using Apache, you can resolve that situation with Apache's
redirection. Use redirection with regular expressions, which means that
you use RedirectMatch- tag to redirect for example all /foo/index.html-
requests to foo/index.jsp.

The second and little bit heavier choise is to use mod_rewrite and do the
same.

I think this will work. Situtation is the very same if client just requests
index.jsp directly, because Apache takes the request to index.html and
redirects it without html- parsing to the new location.

-Harry



- Original Message -
From: Mark Muffett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 3:05 PM
Subject: Re: .htm problem




Tried it (in fact that's what I'm doing pro temp, but it doesn't function
as
I would like).

I have index.htm as a link to index.jsp.

If I directly select index.jsp it works as expected, of course.  If I
select
index.htm, the jsp code is not processed (you can see it if you try to view
the source in the browser).

Any ideas?

Mark

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 12:48 PM
Subject: Re: .htm problem



 Ok,

 ... but why not just use symbolic links from index.html to index.jsp aso.

 -Harry





 Mark
 Muffett To:
 markm@its-ax[EMAIL PROTECTED]
 iom.com cc:
  Subject: Re: .htm problem
 30.07.2001
 14:40
 Please
 respond to
 tomcat-user






 No good - the links are from the outside world and I have no control over
 them.

 Mark

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, July 30, 2001 12:20 PM
 Subject: Re: .htm problem


 
  Just start using some good website editor (Dreamweaver 4). Make a new
 site
  there for your content and let Dreamweaver examine links and change
  filenames.
 
  Of course world is full of different kind of sed/awk/vi- tricks, but in
  serious website maintenance you really should use an editor.
 
  -Harry
 
 
 
  Mark
  Muffett To:
  markm@its-ax
[EMAIL PROTECTED]
  iom.com cc:
   Subject: Re: .htm problem
  30.07.2001
  14:04
  Please
  respond to
  tomcat-user
 
 
 
 
 
 
  Thanks, but I don't think it will work for my purposes - I want to log
 the
  refering site and I think I'll lose the info if I do that.
 
  Regards
 
  Mark
 
  - Original Message -
  From: César Martínez Cabanas [EMAIL PROTECTED]
  To: [EMAIL PROTECTED];
 [EMAIL PROTECTED]
  Sent: Monday, July 30, 2001 11:21 AM
  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 [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   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
   
  
 
 
 
 









Re: .htm problem

2001-07-30 Thread Richard Draucker

I don't work with .jsp files (servlets w/xslt for me, thanks), can you alias 
the .jsp files in your web.xml file. No?


On Monday 30 July 2001 04:00 am, 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


Content-Type: text/html; charset=iso-8859-1; name=Attachment: 1
Content-Transfer-Encoding: quoted-printable
Content-Description: 


-- 
Richard Draucker [EMAIL PROTECTED]
Protected-Data.Com www.protected-data.com
Remote Data Support For Web Developers