You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/09/27 04:17:42 UTC
t5: Urlrewrite to a html path
Hi,
I have a html that works under this link:
http://127.0.0.1:8080/html_pages/sample/info.html
now I'd like to be able to use this:
http://127.0.0.1:8080/exinfo
so I added a rewrite:
if ("/exinfo".equalsIgnoreCase(path)) {
return new SimpleRequestWrapper(request, "/html_pages/sample/info.html");
}
but got following error, any idea why? thanks.
HTTP ERROR 404
Problem accessing /exinfo. Reason:
NOT_FOUND
Powered by Jetty://
--
View this message in context: http://www.nabble.com/t5%3A-Urlrewrite-to-a-html-path-tp25630326p25630326.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org