BTW, I would like to load the JSP page before the actual index.html page of
my publication.


Andreas Hartmann wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-load-a-JSP-page-%22before%22-loading-...-live-index.html-tp17552620p17599610.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to