cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Redirect POST (was: servlets & cocoon?)
Date Mon, 03 Apr 2006 15:45:21 GMT
Actually, I sort of got it working.

The servlets are mapped to /bulk/* and /edit/*
The Cocoon stuff is mapped to /privapps/*

But the servlet pages have a hardcoded context name for static stuff
/privatestar/* which should work when it's deployed as a war, but
not when I run it with jetty, so I made a directory privatestar next to
privapps with a sitemap that reads the resources from the directories in

Now to get it working also in Jetty develop mode, I have a problem with
the forms, as they submit to things like "/privatestar/edit". I tried
making a redirect for "edit" in the privatestar sitemap, but the
querystring is empty
(it is a POST):

<map:match pattern="edit">
  <map:redirect-to uri="/edit?{request:queryString}"/>

So, how can I redirect this?


-----Original Message-----
From: Jean-Baptiste Quenot [] 
Sent: Monday, April 03, 2006 5:30 PM
Subject: Re: servlets & cocoon?


> How can I map some servlets next to the Cocoon stuff in the same
> context?

You can't.
     Jean-Baptiste Quenot
aka  John Banana Qwerty

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message