I double checked the source and see nothing that would lead me to believe extension length would break things. (ie it just looks for "." and takes the rest of the extension )
It probably is just that the examples on the website show how to do it for *.html and not *.htm perhaps? I think I've actually used both before with no issue but might be wrong. On 6/24/06, James Carman <[EMAIL PROTECTED]> wrote:
What do you have your tapestry servlet mapped to? *.html? -----Original Message----- From: Mike Grundvig [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 8:06 PM To: Tapestry development Subject: Friendly URLS Bug? Hi all; I just want to thank everyone for an excellent framework and for all the hard work you do! Now onto the issue... It looks like a friendly URL shorter then four digits fails for no clear reason. I promise that I'm not crazy. I've uploaded two versions of a tiny example webapp at these URLs: Uses .html and works http://www.electrotank.com/junk/mike/tapestry/UrlBugHtml.zip Uses .htm and fails http://www.electrotank.com/junk/mike/tapestry/UrlBugHtm.zip You can download those, extract em and drop them into Tomcat (or any other app server) to see the problem. Url on your machine to test(working): http://127.0.0.1:8080/UrlBugHtml/Home.html Url on your machine to test (buggy): http://127.0.0.1:8080/UrlBugHtm/Home.htm I ran into this when trying to migrate a static site into Tapestry. The site was created with .htm extensions, not .html. It took me quite a while to determine that the pages were failing due to the extension, not due to configuration. Is this documented somewhere and I just missed it or is this really a bug? If this is intentional, why? Thanks again for all the hard work! Michael Grundvig Electrotank, Inc http://www.electrotank.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
