Here's a possibility:

Write the quick and dirty blog jsp, name it blog.html, and then add this to your web.xml file:

<servlet-mapping>
 <servlet-name>jsp</servlet-name>
 <url-pattern>blog.html</url-pattern>
</servlet-mapping>

The idea is to specifically map blog.html to the jsp servlet for jsp processing. I haven't tried it, but it seems like it should work.

--David

DIGLLOYD INC wrote:

I'm converting from an Apache http system.

Thousands of my users have bookmarked http://diglloyd.com/diglloyd/blog.html

With Apache, I symlinked blog.html to the current month's blog.

Now with Tomcat, I see warnings that enabling symlinks is a security
risk.

What is the best way to make blog.html => 2008-03-blog.html ?  (eg if
March 2008 is the current blog)

I realize that I can write a one-line blog.jsp which includes the
current month's blog.  But that won't help users that bookmarked
blog.html.

An http redirect works, but it seems the google search engine is not
enamored of redirects; I don't want to hurt my search ranking.

Lloyd Chambers



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to