Re: Converting to JSP



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 :-)


.



Relevant Pages

  • Re: OT- building a lightwave website
    ... directly to people who use HTML, flash,dreamweaver,inDesign etc everyday. ... Im assuming that you are more of the design angle. ... In programming, it either works or it doesnt, ... figure out how to convert it into a website. ...
    (comp.graphics.apps.lightwave)
  • Re: OT- building a lightwave website
    ... website with a blog, a slideshow and a video page without trying to ... figure out how you paste code into an html page. ... for advertising banners and such....and flash video too. ... LOL Some of the Photoshop templates are great! ...
    (comp.graphics.apps.lightwave)
  • Re: Web Animation and Sound Advice Sought
    ... using raw HTML coding. ... what's the usual learning curve with Java Script? ... to create an animation with a sound file in a couple of days? ... upon someone landing on my website, ...
    (misc.writing)
  • Re: Which editor do you use to write HTML?
    ... I currently use Microsoft Frontpage 2003. ... > a pretty powerful html editor. ... > 3) Tag finders/selectors: If I think I have a wayward start or end tag ... > files/hyperlinks and website structure. ...
    (comp.infosystems.www.authoring.html)
  • Re: why does Apple turn a 580 KB file into a 1.2 MB file
    ... history of the website with its index page is html. ... You can store the text file as "foo.txt", and web browsers ... should be smart enough to know that the web file "foo.txt" is plain ...
    (sci.math)