Thanks Praveen,


Which option out of following will be easier to manage in your opinion?


-          Make JSPs work with Cocoon/forrest

-          XSP


More or less our static pages would be like ‘s. We will also need the RSS content reader feature of Cocoon/forrest.


If possible, can you please point me to some reference work/links/docs which is close to my use case.







From: Dr. Praveen Bhatia []
Sent: Tuesday, March 16, 2010 5:15 AM
Subject: RE: Usage Scenario


Hi Nitin,

   Yes you could do it in forrest/cocoon. Uploading modified xml content files, would change the contents being displayed. There is a sitemap.xmap facility which could be used to map your contents, combined with presentation code, to display new content.

   However, to use JSPs, you will need to make JSPs work with forrest/cocoon or use XSPs which cocoon has built in its software.



From: Nitin Gupta []
Sent: Monday, March 15, 2010 10:52 PM
Subject: Usage Scenario


Hi All,


I am developing a web application using Spring/Hibernate frameworks. My application is going to be a public facing application. The pages on this application can be divided into categories. Pre-login & Post login.


Pre-Login pages: These are mainly going to be marketing/user education pages. These are HTMLs/Jsps with el tags.


Post-Login pages: These are main application pages which are pure JSPs with EL tags.


Since app has been launched, marketing team puts pressure on us to change the content on the pre-login pages on almost daily basis. Currently, we are handling this by sending the static files to the remote static server.


I want to streamline this process. The above one is tedious for changing the content as presentation is mixed with content. Often this results in errors & reworks.


Can I make use of Foresst/Cocoon or some other XML based approach to address this issue? I want, at least for static pages, to keep the presentation code on static pages separate from content. This can enable the marketing team to write content in simple text files, which eventually can be uploaded to the server.


Please suggest what I can do here. I wish for following: A simple text file upload and then on the basis of EL tags on the JSPs, content gets reflected on the pages of the running application.