Hi,
jazzhazze schrieb:
When a user visit my site I would like to load a custom .jsp page (index.jsp
for example) with some script code, before the main Lenya index.html page of
my publication is loaded?
I don't quite understand this - do you want to show this JSP page and
then make a redirect to the index.html page?
Which files do I have to modify to make that work,
how should I modify them, and where should I put the .jsp file ?
You might try the JSPGenerator:
http://cocoon.apache.org/2.1/userdocs/jsp-generator.html
You could either store the JSP page as a Lenya document (with a
dedicated resource type like "jsp"), or in the file system (depending on
your requirements re. editing and versioning).
BTW, why do you want to use JSP? Did you already take a look at Cocoon
Flow and JX templates?
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]