Hi,

I use the latest CVS release and I want to debug the friendly url stuff. I
have the old java class files in place and I changed the old servlet
mappings of web.xml to

<servlet>
<servlet-name>FUServlet</servlet-name>
<display-name>FriendlyUrlServlet</display-name>
<description>Translates friendly URLs to objects</description>
<servlet-class>FriendlyURLServlet</servlet-class>
<init-param>
<param-name>redirectHandler</param-name>
<param-value>/go.cfm</param-value>
</init-param>
</servlet>
                                
<servlet-mapping>
<servlet-name>FUServlet</servlet-name>
<url-pattern>/go/*</url-pattern>
</servlet-mapping>

I think that I need new class files too, because I do not get the friendly
urls thing to work as expected.

The generated mappings are okay, but every fu redirects to the homepage.

I also modified go.cfm and added 

<cfimport taglib="/farcry/farcry_core/tags/webskin" prefix="skin" />
<skin:fuRedirect>

But it seems that go.cfm is not used by the servlet, because I tried it with
a cfabort inside go.cfm and nothing happened.

Any hints?

Thanks

Martin



Reply via email to