Gregor Wrote:
 
> it seems to me that the doctype matcher is screwing up your efforts. you
> have to put in your pipelines in a way that lenya does not try to
> determine the doctype of your url.
>

 
Thank you Gregor for your answer, but i don't know how to do this.
 
In my lenya/pubs/mypub/sitemap.xmap
I have inserted this pipeline as the first pipeline in the pipelines section:
    <map:pipeline>
     <!-- jsp pages -->
       <map:match pattern="jsp_*">
            <map:generate type="jsp" src=""/>
            <map:serialize type="html"/>
       </map:match>
     </map:pipeline>
 
With my poor knowledges about Cocoon, I belive that Coccon answer to the requests reading the sitemap.xmap, so the first pipeline that matches the request is used to answer it.
If that is true, my jsp pipeline is used to process the request, but it doesn't happen, and Lenya tells me allways:
The requested document '/jsp_SendMail' with document-id '/jsp_SendMail' does not exist
 
Please, what can I do to change this Lenya behavior.
Thank you very much,
Roberto
 
> Roberto Fornasiero wrote:
>
>> but when i try to submit the form, Lenya tell me:
>> The requested document '/jsp_SendMail' with document-id '/jsp_SendMail' does not exist.
>>
>> I want to use jsp because i have many jsp pages that i have used with my old Cocoon publications.
>> In the mail archive i didn't find anything useful.
>> What i have to do to use jsp pages with a Lenya publication?
>

Reply via email to