> Of course, when i type the same url in my browser, it works
> ("http://localhost:8080/myApp/myServlet";). Cocoon and my servlet are in
the
> same webApp (and same Tomcat's Context).
>
> Does it really work for you ?
>
> sitemap.xmap is standard and i had just added this :
>
>   <map:pipelines>
>     <map:pipeline match="myApp/test">
>       <map:generate uri="/myApp/myServlet"/><!-- return XML -->
>       <map:serialize />
>     </map:pipeline>
>   </map:pipelines>
>

I think it doesn't fit your servlet mapping.
Try
<map:generate uri="myServlet"/>


If this doesn't work either and you are using 2.1 you can also try
<map:generate
uri="http://{request:serverName}:{request:serverPort}{request:contextPath}/m
yServlet"/>


I believe this also works for 2.0.5-dev

HTH
Guido



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to