You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dan Adams <da...@ifactory.com> on 2006/08/10 18:15:43 UTC
[OT] tomcat not letting my app serve up templates
Ok, when I run the app in jetty this works fine and I don't remember
having this problem with other tomcat installs. When I request a path
that is a file that exists on the filesystem, like /admin/Home.html,
then tomcat will server up the template and tapestry never gets to
intepret it. but when i request a short url that is rewritten,
like /article/2, then the app gets to handle it like normal. any ideas?
--
Dan Adams
Senior Software Engineer
Interactive Factory
617.235.5857
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [OT] tomcat not letting my app serve up templates
Posted by Rui Pacheco <ru...@gmail.com>.
Check your web.xml to make sure you configured Tapestry to handle that
particular extension.
On 8/10/06, Dan Adams <da...@ifactory.com> wrote:
>
> Ok, when I run the app in jetty this works fine and I don't remember
> having this problem with other tomcat installs. When I request a path
> that is a file that exists on the filesystem, like /admin/Home.html,
> then tomcat will server up the template and tapestry never gets to
> intepret it. but when i request a short url that is rewritten,
> like /article/2, then the app gets to handle it like normal. any ideas?
>
> --
> Dan Adams
> Senior Software Engineer
> Interactive Factory
> 617.235.5857
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Cumprimentos,
Rui Pacheco
Re: [OT] tomcat not letting my app serve up templates
Posted by Rui Pacheco <ru...@gmail.com>.
I have this:
<servlet-mapping>
<servlet-name>app</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
On 8/10/06, Dan Adams <da...@ifactory.com> wrote:
>
> Ok, when I run the app in jetty this works fine and I don't remember
> having this problem with other tomcat installs. When I request a path
> that is a file that exists on the filesystem, like /admin/Home.html,
> then tomcat will server up the template and tapestry never gets to
> intepret it. but when i request a short url that is rewritten,
> like /article/2, then the app gets to handle it like normal. any ideas?
>
> --
> Dan Adams
> Senior Software Engineer
> Interactive Factory
> 617.235.5857
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Cumprimentos,
Rui Pacheco