JBoss Community

Can't get JSF to run on JBoss

modified by Tiki Shabudin in Beginner's Corner - View the full document

Sorry if this is the wrong place to post this but I've been trying to run a couple of JSF files on JBoss AS 7.1.1 but so far nothing seems to be working. No errors, just that the jsf tags don't do anything. The source code is as follows (they're the same for both the .xhtml and .jsp file)

 

<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"

          xmlns:f="http://java.sun.com/jsf/html">

<f:head>

</f:head>

<f:body>

          This is a test.

          <f:form>

                    <f:commandButton value="Testing" />

          </f:form>

</f:body>

</html>

 

Would appreciate if someone could tell me what I'm doing wrong. Also, I'm using Eclipse Juno. Is there autocomplete support for JSF tags in Eclipse?

Comment by going to Community

Create a new document in Beginner's Corner at Community