Hi, the first thing to check would be, whether the login page and all subpages and resources like CSS etc. that will be loaded by the pages in the frameset are permitted for users that are not logged in.
Otherwise the login page or a subpage will always trigger a redirect to the login page in an infinite loop. Regards, Andreas On 28.03.2012 13:24, liangpd wrote: > Before introducing Shiro, my page works fine which uses frameset and frame > to locate some other jsp. > > After introducing the Shiro, my first loginUrl can't even work well, the > frameset seems to loop infinitly so that the loginUrl can't show normally. > > here is the fragment of my loginUrl page(without the code below, the > loginurl page can work normally) > > <frameset rows="52,20,*" cols="*" frameborder="NO" border="0" name="global" > onbeforeunload="javascript:logout();" > framespacing="0"> > > <frame src="banner.jsp" name="bannerFrame" noresize > scrolling="no"> > > <frame src="./jsp/global/public/hDivision.jsp" noresize scrolling="no" > > > <frameset rows="*" cols="175,11,*" name="centerFrame" framespacing="0" > frameborder="NO" border="0"> > <frame src="./jsp/global/public/vDivision.jsp" noresize > scrolling="no" > > <frame name="center" id="center" src="ess.jsp" border=0 > noresize > > </frameset> > > </frameset> > > Could anyone help? > > Thanks > peter > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/infinite-loop-problem-with-shiro-and-frameset-tp7413233p7413233.html > Sent from the Shiro User mailing list archive at Nabble.com.
