hi,
i know this is a very simple issue but i can do nothing to solve.

some lines from faces-config.xml

<navigation-rule>
        <from-view-id>/start.jsp</from-view-id>
    <navigation-case>
            <from-outcome>go</from-outcome>

            <to-view-id>/stop.jsp</to-view-id>
           <redirect/>
        </navigation-case>
    </navigation-rule>



some lines from start.jsp

<h:commandButton id="submit" value="Submit" action="#{myBean.method}"/>



some lines from mybean

*public* String method(){
        *return* "go";

}



i tried by deleting

"<redirect/>"

. i expect it to go to stop.jsp when i click the submit button. but it
sometimes works. sometimes goes into start.jsp again and again.
what should i do?
thanks
-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to