How to avoid user access to .xhtml page in JSF?

后端 未结 5 1291
终归单人心
终归单人心 2020-12-06 02:05

I am new to JSF and writing first simply jsf web app.

URL with .jsf are mapping to .xhtml files in WebContent but why I can open .xhtml in web browser with all jsf t

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-06 02:18

    On GAE you need two things:

    1. edit web.xml as described above
    2. add in appengine-web.xml
    
        
    `
    

提交回复
热议问题