sign_on.jsp 980 B

123456789101112131415161718192021222324252627282930313233343536
  1. <%@page import="kr.co.hsnc.common.message.WAFMessage"%>
  2. <%@ page contentType="text/html; charset=utf-8" %>
  3. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  4. <%
  5. ctx.init(request, response);
  6. WAFMessage wafMessage = WAFMessage.getInstance();
  7. wafMessage.setLocale(ctx.getLocale());
  8. %>
  9. <SCRIPT language="JavaScript">
  10. if( parent == null ) {
  11. alert("<%= wafMessage.getMessage("Login.OFF") %>");
  12. }
  13. if( parent.parent.parent.parent.parent != null ) {
  14. parent.parent.parent.parent.parent.location = "index.screen";
  15. }
  16. else if( parent.parent.parent.parent != null ) {
  17. parent.parent.parent.parent.location = "index.screen";
  18. }
  19. else if( parent.parent.parent != null ) {
  20. parent.parent.parent.location = "index.screen";
  21. }
  22. else if( parent.parent != null ) {
  23. parent.parent.location = "index.screen";
  24. }
  25. else if( parent != null ) {
  26. parent.location = "index.screen";
  27. }
  28. else {
  29. self.location = "index.screen";
  30. }
  31. </SCRIPT>