Hi Venkatachalam,
thanks for your reply i done this by configaring in faces-config.xml and calling jsf page...but it is not working fine here i am pasting my code have a look and let me know.. what is the problem
//this is my jsf page button
<tr>
<td><h:commandButton value="#{msg.button_lable1}" action="#{TemplateBooking.result}"/></td>
</tr>
//faces-config.xml
<managed-bean>
<managed-bean-name>TemplateBooking</managed-bean-name>
<managed-bean-class>TemplateBookingBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/TemplateBooking.jsp</from-view-id>
<navigation-case>
<from-outcome>result</from-outcome>
<to-view-id>/Result.jsp</to-view-id>
</navigation-case>
</navigation-rule>
//java class
public
String result(){
return "result";
}
Regards,
vardhan