Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 89086 invoked from network); 16 Mar 2010 05:17:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 05:17:53 -0000 Received: (qmail 77039 invoked by uid 500); 16 Mar 2010 05:17:53 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 76840 invoked by uid 500); 16 Mar 2010 05:17:52 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 76833 invoked by uid 99); 16 Mar 2010 05:17:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 05:17:52 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT,SPF_NEUTRAL,T_HK_NAME_DR X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [222.3.140.164] (HELO msa101lp.auone-net.jp) (222.3.140.164) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 05:17:45 +0000 Received: from NihonSumpurn (KHP059138241241.ppp-bb.dion.ne.jp [59.138.241.241]) by msa101lp.auone-net.jp (au one net msa) with ESMTP id 40017598036 for ; Tue, 16 Mar 2010 14:17:23 +0900 (JST) From: "Dr. Praveen Bhatia" To: References: <005001cac446$a5e714a0$f1b53de0$@gupta@srishtitechnet.com> <003d01cac499$760240e0$6206c2a0$@bhatia@sumpurn.com> <004401cac4c7$452db5c0$cf892140$@com> In-Reply-To: <004401cac4c7$452db5c0$cf892140$@com> Subject: RE: Usage Scenario Date: Tue, 16 Mar 2010 14:17:17 +0900 Message-ID: <005b01cac4c7$f2a201c0$d7e60540$@bhatia@sumpurn.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005C_01CAC513.6289A9C0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcrERqK6x7NEroxnT5er2RORrCaJUgAUeZEgAAuQ+zAAABgtEA== Content-Language: ja This is a multi-part message in MIME format. ------=_NextPart_000_005C_01CAC513.6289A9C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Nitin, What I do is this: For JSPs, I use iframes, and run JSPs in it. For others I pass it to the cocoon servlet. For XSP, cocoon servlet directly can interpret the same. Both are easy to use, but as I am separating the JSP into iframe, I cant always use full power of cocoon in it. For XSP you will need to learn that language from cocoon documents given at: http://wiki.apache.org/cocoon/XSP Both methods should work for you for the site that you build, but could involve customization. Praveen From: Nitin Gupta [mailto:nitingupta183@gmail.com] Sent: Tuesday, March 16, 2010 2:12 PM To: user@forrest.apache.org Subject: RE: Usage Scenario 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 http://evite.com '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. Thanks Nitin From: Dr. Praveen Bhatia [mailto:praveen.bhatia@sumpurn.com] Sent: Tuesday, March 16, 2010 5:15 AM To: user@forrest.apache.org 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. 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 ------=_NextPart_000_005C_01CAC513.6289A9C0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Nitin,

  What I do is this:

         &nbs= p;    For JSPs, I use iframes, and run JSPs in it. For others I pass it to the = cocoon servlet.

         &nbs= p;    For XSP, cocoon servlet directly can interpret the = same.

Both are easy to use, but as I am separating the JSP into = iframe, I cant always use full power of cocoon in it.

For XSP you will need to learn that language from cocoon documents given at: http://wiki.apache.org/cocoon/= XSP

 

Both methods should work for you for the site that you = build, but could involve customization.

 

Praveen

 

 

From: Nitin Gupta [mailto:nitingupta183@gmail.com]
Sent: Tuesday, March 16, 2010 2:12 PM
To: user@forrest.apache.org
Subject: RE: Usage Scenario

 

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 http://evite.com ‘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.

 

Thanks

Nitin

 

 

 

From: Dr. Praveen Bhatia [mailto:praveen.bhatia@sumpurn.com]
Sent: Tuesday, March 16, 2010 5:15 AM
To: user@forrest.apache.org
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.

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

------=_NextPart_000_005C_01CAC513.6289A9C0--