1 Reply Latest reply on Oct 28, 2011 6:16 AM by Patrick Refondini

    JSP with JBOSS AS 7

    cheng liu Newbie

      Hi there,

       

      Is any available JSP quickstart  with JBOSS AS 7?

       

      I have already searched some JSP-base codes with JBOSS but those are not success to build.

       

       

      Such as  https://github.com/jbossas/jboss-as

      This  is too complicated and has some errors compiled by command line/Eclipse

       

      Maybe I just need a simple JSP hello-world.

      Is any code available?

       

      Thank you

      Chris

        • 1. Re: JSP with JBOSS AS 7
          Patrick Refondini Newbie

          According to:

          http://download.oracle.com/javaee/6/tutorial/doc/giepx.html

           

          (...)JSP technology is considered to be a deprecated presentation technology for JavaServer Faces 2.0. Facelets is a part of the JavaServer Faces specification and also the preferred presentation technology for building JavaServer Faces technology-based applications.(...)

           

          So I guess that's why you mostly see examples with JSF and Facelets tags instead of JSPs...

          For instance in Quickstarts for 7.0.2.Final found at: http://www.jboss.org/jbossas/downloads/

          Once uncompressed just go to helloworld, kitchensink,... type mvn package and move the war

          archive found in helloworld/target/, kitchensink/target/ folders to your JBOSS AS 7 like:

          jboss-as-7.0.2.Final/standalone/deployments/

          Then you'll have working examples ... using JSF Facelets.

           

          On the other hand I quickly tested the free OpenShift Express available at:

          https://openshift.redhat.com/app/

          It creates default "hello world" applications using JSP (when using JBOSS AS 7 cartridge)

           

          Hoping this may be useful,

           

          Patrick

          1 of 1 people found this helpful