Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

core jsf navigation problem

  Asked By: Elliott    Date: Oct 18    Category: Java    Views: 1666

I try to navigate between pages, I think i do correct, but no navigation has
been happen for more times,
for example I have done the below simple example, but it doesn't work
My IDE is netbeans.
In visual web pack that's ok.



1 Answer Found

Answer #1    Answered By: Jeffrey Washington     Answered On: Oct 18

The sample seems to be correct  but I suggest you try another type of sample with invoking a method to verify if the other configurations of your project are correct or not.
for example  try to write a method like this and call it in your jsp page in action

public String myNavy(){
System.out.println("invoking metho myNavy...............");
return "goToNextPage";


In faces Config


In JSP Page

<p>Enter your name: <h:inputText value="name" /></p>
<p>Enter your birthday: <h:inputText value="birthday" /></p>
<h:commandButton value="Submit" action="#{myClass.myNavy}" />

And Also you should pay attention to your web.xml and verify the filtering .*sometimes they make some problem  in navigation rules like acegi filters.

Didn't find what you were looking for? Find more on core jsf navigation problem Or get search suggestion and latest updates.