forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dr. Praveen Bhatia" <praveen.bha...@sumpurn.com>
Subject RE: Usage Scenario
Date Mon, 15 Mar 2010 23:44:31 GMT
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.

Praveen 

 

From: Nitin Gupta [mailto:nitin.gupta@srishtitechnet.com] 
Sent: Monday, March 15, 2010 10:52 PM
To: user@forrest.apache.org
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.

 

Rgds
nitin


Mime
View raw message