JSF redirect to other page

后端 未结 3 1663
醉话见心
醉话见心 2020-12-01 09:47

I have three XHTML pages;

  1. index.xhtml
  2. page_1.xhtml
  3. page_2.xhtml

In the index.xhtml page, I have a commandBu

3条回答
  •  不思量自难忘°
    2020-12-01 10:38

    Add two navigation cases as shown below. In the action methods, return outcomes corresponding to the buttons.

                
                    index.html
                    
                        page1
                        page_1.xhtml
                    
                    
                        page2
                        page_2.xhtml
                    
                
    

提交回复
热议问题