Hi Martin,

You will need to get the latest version of the servlet in order to get the go.cfm system to work.

Spike

On 10/5/05, Martin Orth <[EMAIL PROTECTED]> wrote:

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






--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org

Reply via email to