Discussions

Web tier: servlets, JSP, Web frameworks: Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.

  1. HI,

    We are currently re writing an existing web application
    using J2EE/Struts framework./DAO..

    The application has over 70 JSPs to be written ,these pages
    are basically Input criteria or out out page .

    The contents for each jsp is different and also the layoout
    except header/footer and side menu links..


    We are planning MVC2 (Struts) architecture.

    We will be using the existing Database/tables in MS SQL Server 2000.

    However,we are told to into the possiblity of using a few
    XML/XSLT instead of writing 70 odd JSP pages so that the project effort can be reduced.

    I would like to know if anybody has done similar projects
    using XML/XSLT instead of JSP in web application.

    Your help will be highly appreciated...

    Thanks in advance
    Dhana
  2. Check out Domify in Maverick[ Go to top ]

    There is a seperate component in Maverick called Domify. Domify, http://domify.sourceforge.net/, is able to take your model objects and turn them into dom objects and you can use xslt to output your site. Maverick has an example done in both jsp, velocity and domify if you want to see. However in their example there are nearly equal number of xslt pages as jsp pages, but I could see that if you have a heavily data driven page that you could reduce that number with xslt.


    http://mav.sourceforge.net/
    http://domify.sourceforge.net/
  3. Hi,

    I could run the Friendbook example in domify and see how xslt is used instead of
    JSP.However the example given is too simple and I am afraid how this can
    be extended for real web application that has medium/complex views.

    Pls let me know if anyone has used this for real web application and site URL..
    etc..

    Thanks in advance..
    Dhana