No, that's because I send you with <to-view-id>/index.faces</to-view-id> in faces.config, I'm sorry, the correct is
<to-view-id>/index.jsp</to-view-id>
I tried and it worked once but again it crashes.
I've seen that the URL point the second time for:
http://localhost:8080/testenviroment/faces/faces/welcomeJSF.jsp
This URL doesn't show 404 error, but a 500 as attached.
The 'secont test' just refresh the screen...
----- Original Message ----
From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
To: users_at_glassfish.dev.java.net
Sent: Tuesday, 25 July, 2006 4:47:10 PM
Subject: Re: Problems with JSF's 'links'
Gilberto Müller wrote:
> The answer for all questions is yes.
>
> Here is my Netbeans project, it's small and maybe it could help!
>
By not working do you mean you're getting a 404 error when you select
the link?
> Thanx,
>
> Gilberto Müller
>
>
>
> ----- Original Message ----
> From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
> To: users_at_glassfish.dev.java.net
> Sent: Monday, 24 July, 2006 4:31:27 PM
> Subject: Re: Problems with JSF's 'links'
>
> A few questions:
>
> - Is Javascript enabled in your browser? If not, enable it.
> The the command link uses it.
> - If Javascript is enabled, are there any javascript errors
> appearing in your browser's JS console?
> - You do have a navigation case set up for this right?
>
>
>
> Gilberto Müller wrote:
>
>> 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
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net