Hi Hugh, How did you define your Sitemap-Servlet?
Try something like this in applicationContext.xml: <!-- Servlet service --> <bean id="org.hugh.yourapp" class="org.apache.cocoon.sitemap.SitemapServlet"> <servlet:context mount-path="/" context-path="/"> <!--servlet:connections> <entry key="ajax" value-ref="org.apache.cocoon.ajax.impl.servlet"/> <entry key="forms" value-ref="org.apache.cocoon.forms.impl.servlet"/> </servlet:connections--> </servlet:context> </bean> Regards, Mike ---------- Original Message ---------------------------------- From: "Hugh Sparks" <[EMAIL PROTECTED]> Reply-To: users@cocoon.apache.org Date: Wed, 17 Oct 2007 18:08:40 +0900 >> Not sure about the second part of your question, but the first part >> has already been answered by the developers: >> http://marc.info/?l=xml-cocoon-users&m=119202260922881&w=4 >> so I guess the tutorial you refer to (URL??) is out-of-date. > >That posting refers to mounting a block at root "/". >I understand that process. I'm trying to build a webapp, not a block. > >The question I'm asking is if it is possible to build a webapp that >has a website of it's own, without having dependancies on blocks. >A webapp is the thing you get by executing: > > mvn archetype:create \ > -DarchetypeGroupId=org.apache.cocoon \ > -DarchetypeArtifactId=cocoon-22-archetype-webapp \ > -DarchetypeVersion=1.0.0-RC3-SNAPSHOT \ > -DgroupId=myplace.com \ > -DartifactId=simpleWebapp > >Thanks for trying, > >-Hugh Sparks > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > ____________________________________________ QuickLine WebMail - http://www.QuickLine.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]