줄무늬 프레임 워크 질문이 있습니다.줄무늬 - 리디렉션, 만료 세션
이전의 주석 방법에있는 리디렉션 페이지입니까? 같은
뭔가 :
@Before
public void test()
{
String login=(String)context.getRequest().getSession().getAttribute("login");
if (login==null)
{
Redirect...(LoginActionBean.class); // ??????
exit....(); // ??????
}
}
물론 인터셉터를 직접 작성할 수도 있습니다. http://www.stripesframework.org/display/stripes/Intercept+Execution (매우 쉽습니다!) – Kdeveloper