users@glassfish.java.net

Problems with JSF's 'links'

From: Gilberto Müller <kenpozeiro_at_yahoo.com.br>
Date: Mon, 24 Jul 2006 11:22:33 -0700 (PDT)

Hi there,

I'm trying to use 'links' in my web application but it doesn't work.
I don't know if I'm doing something wrong, it used to work at JBoss AS:

I've tried this (both are not working properly):

----------------------------------

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <f:view>
            <h1><h:outputText value="Java Server Faces" /></h1>
            <h:form>
                <h:commandLink action="index" value="First test"/>
                
            </h:form>
        </f:view>
    </body>
</html>

----------------------------------

Can anyone give me a hand?


Thank you in advance,

Gilberto Müller