A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1362.html
Document ID: 1362 Branch: main Language: default Name: Deploying a Cocoon application (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 6/23/08 4:53:07 PM Updated by: David Legg A new version has been created, state: draft Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 6964 bytes (previous version: 6962 bytes) Content diff: (170 equal lines skipped) <p>You can mount your block at the root level in the application URI space, so that instead of using (for example) the URI --- <tt>http://localhost:8888/myBlock/foo/bar</tt> to request a page, you would +++ <tt>http://localhost:8888/myBlock1/foo/bar</tt> to request a page, you would request it at <tt>http://localhost:8888/foo/bar</tt>.</p> <p>To do this, edit --- <tt>myBlock/src/main/resources/META-INF/cocoon/spring/blockServlet.xml </tt>, +++ <tt>myBlock1/src/main/resources/META-INF/cocoon/spring/blockServlet.xml </tt>, and change the element</p> <pre> <property name="mountPath" value="/myBlock1"/> (11 equal lines skipped)