>     <map:match pattern="search.html">
>             <map:act type="LogOn"/>
>                <map:act type="CheckLogon">
>                  <map:generate src="/search/search2.xml"
> type="serverpages"/>
>                 <map:transform src="/search/SearchLayout.xml"/>
>                 <map:serialize type="html"/>
>               <map:act>
>     </map:match>
>
> This gives me an error message when i want to call the page
> WARN    (2002-05-18) 11:15.04:125   [cocoon  ]
> (/cocoon/creon/search.html) Thread-12/sitemap_xmap: 404, try to process
> the error page
> org.apache.cocoon.ResourceNotFoundException: Resource not found
> file:/F:/Webserver/tomcat/webapps/cocoon/creon/

Remember if an action returns null (no Map at all) all child processing
inside a pipeline is skipped and you are back matching the request.
...so since you have no other match for the request inside you pipelines
you get a "resource not found"

> I also have a minor problem.
>
>    <map:match pattern="search.html">
>             <map:act set="EnablerSession"/>
>                <map:act type="CheckLogon">
>                  <map:generate src="/search/search2.xml"
> type="serverpages"/>
>                 <map:transform src="/search/SearchLayout.xml"/>
>                 <map:serialize type="html"/>
>               <map:act>
>     </map:match>
>
> When I wnat to use this he tells me I'm usign deprecated API. But isn't
> this the way to use action sets?

Where does he tell?
--
Torsten


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

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

Reply via email to