Re: Converting to JSP
- From: Wojtek <nowhere@xxxxx>
- Date: Mon, 19 Oct 2009 08:30:01 -0700
Roedy Green wrote :
A question about converting to JSP.
As part of converting a website to JSP, I would imagine that every
internal link would have to be renamed from *.html to *.jsp.
This is not a good thing for several reasons:
1. the world at large has bookmarks and links into your website with
the *.html names.
I think that providing web.xml with definitions which contain:
<servlet-mapping>
<servlet-name>myhello</servlet-name>
<url-pattern>/hello.html</url-pattern>
</servlet-mapping>
I do not know Tomcat's (I assume it is Tomcat) interpretation order, but if the web.xml definitions are parsed first, then this will work.
2. the jsp names don't look as safe and friendly.
What?
3. I want to create a downloadable offline website image. It should
just link statically to pages. Logically these should be plain *.html
with plain *.html links. This means a special pass every time a
snapshot is generated to convert all the links since most are not
generated by tags.
How do people handle this? Or do they simply not provide downloadable
snapshots?
I have never provided down-loadable snapshots. And, even having used your site, I do not think I will ever use them. Why would I? Your site is a click away with the latest information.
I know you have a syncronization tool, but that is one more piece of software which I need to install, get updates for, etc.
--
Wojtek :-)
.
- References:
- Converting to JSP
- From: Roedy Green
- Converting to JSP
- Prev by Date: Re: US-NY-Long Island - Director CODEC Development TV and Film $200K
- Next by Date: Re: Converting to JSP
- Previous by thread: Re: Converting to JSP
- Next by thread: US-NY-Long Island - Director CODEC Development TV and Film $200K
- Index(es):
Relevant Pages
|