Changing JSF prefix to suffix mapping forces me to reapply the mapping on CSS background images

前端 未结 1 2021
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 09:49

I\'ve been using prefix mapping for years and decided to switch to suffix mapping, just to get rid of the /faces in the url really. I just wanted to check I\'m

1条回答
  •  失恋的感觉
    2020-11-29 10:01

    and then I see that everything going through FacesServlet has .xhtml appended to it, so that the browser is requesting .png.xhtml files, .css.xhtml file - is this right?

    This only applies to resources included by and . This is not related to the change in the URL mapping. This is related to the change from JSF 1.x to JSF 2.x and the change from and

提交回复
热议问题