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-name>jsp</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-name>jsp</servlet-name>
<url-pattern>*.htm</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</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
> > > >
> > >
> >
> >
> >
> >
>