I was a beginner of Tapestry 4.0.x.
In my T4 project I've activated Friendly URLs and it works fine.
But when i deploy the T4 project to a new Virtual Host and set the
context path as the web root I meet problems.I can visit the Home page
with http://10.0.0.201/app.But can't visit orther pages through
friendly url.For example when i visit /pub/Login page tomcat error is
:
HTTP Status 404 - /pub/Login.cnbrn
type Status report
message /pub/Login.cnbrn
description The requested resource (/pub/Login.cnbrn) is not available.
Apache Tomcat/5.5.20
============================
here is my context setting in server.xml is:
<Host name="10.0.0.201" appBase="E:\project\cnbrn"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="." debug="0"/>
</Host>
=============================
here is my web.xml setting of servlet-mapping:
<servlet-mapping>
<servlet-name>cnbrn</servlet-name>
<url-pattern>/app</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>cnbrn</servlet-name>
<url-pattern>*.cnbrn</url-pattern>
</servlet-mapping>
=============================
How to resolve this problem???Any advice is welcome and thank you very much!!!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]