-
1. Re: JSP with JBOSS AS 7
refon Oct 28, 2011 6:16 AM (in response to chris-liu)1 of 1 people found this helpfulAccording 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