Running the Portal

Your portal consists of several pieces. You have the SQL database, the XSP logicsheet, and the various XSP and XSL documents. Of course, because these are all contained on the CD, you only have to copy the contents of the example folder from the CD into the Cocoon context directory. So you have logicsheet.xsl and the portal directory directly beneath the Cocoon context directory.

The next task is to configure the HSQL database. Because you modified one table, you have to delete the entries for the portal demo from Chapter 7 first. Then you add the new configuration to cocoondb.script, which can be found in Cocoon’s \WEB-INF\db directory. This file can be edited with any text editor. The following lines then need to be appended ...

Get Cocoon: Building XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.