ChangeExpiredPwdWorker.jsp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <%--
  2. - FileName : ChangeExpiredPwdWorker.jsp
  3. - Author(s) : chj
  4. - Date : 2014-06-18
  5. - Copyright : Copyright (c) 2014 www.udapsoft.co.kr, Inc.
  6. -
  7. - Description: 비밀번호 체크 및 수정 반영
  8. --%>
  9. <%@ page contentType="text/html; charset=utf-8" %>
  10. <%@ page import="kr.co.udapsoft.system.HandlerStorage" %>
  11. <jsp:useBean id="ctx" class="kr.co.hwenc.system.context.SessionContext" scope="session" />
  12. <%
  13. ctx.init(request, response);
  14. String message = null;
  15. String event = null;
  16. HandlerStorage storage = ctx.getHandlerStorage();
  17. event = storage.getEvent();
  18. boolean success = storage.getSuccess();
  19. %>
  20. <%
  21. if( success ) {
  22. %>
  23. <SCRIPT language="JavaScript" src="/js/common.js"></SCRIPT>
  24. <SCRIPT language="JavaScript" src="/js/lib.js"></SCRIPT>
  25. <SCRIPT language="javascript">
  26. var str = "저장 되었습니다. 다시 로그인해 주세요.";
  27. alert(str);
  28. //dlgAlert(str, 300, 190);
  29. parent.resetFormProc();
  30. parent.closeProc();
  31. </SCRIPT>
  32. <%
  33. }
  34. else {
  35. %>
  36. <SCRIPT language="javascript">
  37. alert("<%= storage.getMessage() %>");
  38. //dlgAlert("<%= storage.getMessage() %>");
  39. parent.resetFormProc();
  40. </SCRIPT>
  41. <%
  42. }
  43. %>