parameter in URL jsf2

前端 未结 2 697
醉梦人生
醉梦人生 2020-12-05 12:29

I need to have this link:

http://myserver:/myproject/innerpage/clip.jsf&id=9099

to extract the id from a code like this:

HttpServletReque         


        
2条回答
  •  借酒劲吻你
    2020-12-05 12:49

    You first have to show us how you are sending the parameter in your JSF, is it a commandButton/Link? An outputLink? A ? Also are you using redirect=true?

    Chances are you are losing the id somewhere during the request.

提交回复
热议问题