hope you can help me with this: I m working with j_security_check and have this problem
I have a profile page that must be restricted to any unloged user, so i add a security constraint in the web.xml file and works fine if i try to access by adress bar, this show me the login page perfectly ok
现在的问题是: 在我索引页的例子中:
rel=“nofollow noretinger”>http:// localhost/mySite/index.xhtml
具有联系
<h:commandLink action=“user/Profile”/>
这把我引向上页,但URL仍然如此。
rel=“nofollow noretinger”>http:// localhost/mySite/index.xhtml
so j_security_check don t show the login page as far as i ve seen j_security_check works with url and jsf don t and if in the profile page press a link to ex:myImages then now the url says:
页: 1
Why is this happend? is there anyway to fix this ?? Thanks in advance
采用一种替代方法,即:
<a href=“user/Profile.xhtml”>Profile</a>
这显示我的正辛页,但如果能达到指数。 xhtml和新闻报道,这并没有发现这一页,因为把我转往:
页: 1