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}"/>
</map:match>

So, how can I redirect this?

Thanks


-----Original Message-----
From: Jean-Baptiste Quenot [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 03, 2006 5:30 PM
To: users@cocoon.apache.org
Subject: Re: servlets & cocoon?

* [EMAIL PROTECTED]:

> 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
http://caraldi.com/jbq/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to