Results 1 to 2 of 2

Thread: Converting a web application to spring surf

  1. #1
    Join Date
    Aug 2010
    Posts
    13

    Default Adding new webscripts in a website...

    Hi..
    I am new to spring surf. I am using alfresco 3.3g which uses spring surf framework...and I have a basic question regarding spring surf..

    That is, consider I am having some html files in a website. Now I planned to add some new webscripts to that website to have forums, blog etc.

    But how to include such spring surf components to an existing website?? That is how to add such webscripts to a normal website which is not of spring surf platform?

    Using http://www.springsurf.org/sites/1.0....tml/index.html, it is easy to develop a spring surf site from initial stage. But how to update an existing website to spring surf to add such webscripts?

    Any links or suggestions?? Kindly reply....
    Thanks in advance....
    Last edited by kamal_1; Sep 6th, 2010 at 06:03 AM.
    Regards,
    Kamal

  2. #2
    Join Date
    Jul 2010
    Posts
    4

    Default

    You can just have Apache HTTPD server your html files. You can forward only requests to the forums and blogs to Tomcat / Surf App.

    Alternatively, you could get Tomcat to server your HTML files. You'll need to configure Surf Controller not to try and server the static files. You can configure this in the urlrewrite.xml file.

    Ainga
    Zaizi Ltd
    Alfresco consulting, development & support
    www.zaizi.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •