cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuryx <yu...@mobicomk.donpac.ru>
Subject Problem with JSP in mounted sitemap
Date Thu, 28 Mar 2002 14:53:39 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=KOI8-R">
  <title></title>
</head>
<body>
Hi all!<br>
<br>
Now I have the following problem :)<br>
<br>
When I declare jsp generator in matcher within mounted sitemap I have error<br>
about:<br>
<hr size="1" noshade="">
<p><b>type</b> Status report</p>
<p><b>message</b> <u>/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp</u></p>
<p><b>description</b> <u>The requested resource (/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp)
is not available.</u></p>
<hr size="1" noshade=""><br>
in  mounted sitemap.xmap  I  declare  following:<br>
<br>
    &lt;map:components&gt;<br>
        &lt;map:generators default="file"/&gt;<br>
        &lt;map:transformers default="xslt"/&gt;<br>
        &lt;map:readers default="resource"/&gt;<br>
        &lt;map:serializers default="html"/&gt;<br>
        &lt;map:selectors default="browser"/&gt;<br>
        &lt;map:matchers default="wildcard"/&gt;<br>
<br>
    &lt;/map:components&gt;<br>
    &lt;!-- =========================== Pipelines =================================
--&gt;<br>
    &lt;map:pipelines&gt;<br>
        &lt;map:pipeline&gt;<br>
<br>
  &lt;map:match pattern="sample"&gt;<br>
     &lt;map:generate type="jsp" src="sample.jsp"/&gt;<br>
     &lt;map:serialize type="xml"/&gt;<br>
  &lt;/map:match&gt;<br>
        &lt;/map:pipeline&gt;<br>
    &lt;/map:pipelines&gt;<br>
&lt;/map:sitemap&gt;<br>
&lt;!-- end of file --&gt;<br>
<br>
I use Cocoon 2.0.2 and Tomcat 4.0.4 now.<br>
This don't work  in  Cocoon  2.0.1 and Tomcat 4.0.1 also...<br>
<br>
Can anyone help me by problem?<br>
<br>
Thanx.<br>
Yury.<br>
 <br>
</body>
</html>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message