first commit
This commit is contained in:
5
src/main/webapp/common/XssError.jsp
Normal file
5
src/main/webapp/common/XssError.jsp
Normal file
@@ -0,0 +1,5 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><script type="text/javascript">
|
||||
alert("잘못된 입력입니다.");
|
||||
history.back();
|
||||
</script>
|
||||
21
src/main/webapp/common/attribute.jsp
Normal file
21
src/main/webapp/common/attribute.jsp
Normal file
@@ -0,0 +1,21 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><%
|
||||
pageContext.setAttribute("crlf", "\r\n");
|
||||
pageContext.setAttribute("crlf2", "\n");
|
||||
pageContext.setAttribute("br", "<br/>");
|
||||
pageContext.setAttribute("G_crlf", "\r\n");
|
||||
pageContext.setAttribute("G_br", "<br/>");
|
||||
pageContext.setAttribute("G_O_lt", "<");
|
||||
pageContext.setAttribute("G_T_lt", "<");
|
||||
pageContext.setAttribute("G_O_gt", ">");
|
||||
pageContext.setAttribute("G_T_gt", ">");
|
||||
|
||||
pageContext.setAttribute("G_O_nbsp", " ");
|
||||
pageContext.setAttribute("G_T_nbsp", " ");
|
||||
|
||||
pageContext.setAttribute("G_O_tap", " ");
|
||||
pageContext.setAttribute("G_T_tap", "\t");
|
||||
|
||||
pageContext.setAttribute("G_O_quot", """);
|
||||
pageContext.setAttribute("G_T_quot", "\"");
|
||||
%>
|
||||
22
src/main/webapp/common/error.jsp
Normal file
22
src/main/webapp/common/error.jsp
Normal file
@@ -0,0 +1,22 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
|
||||
<meta http-equiv="content-language" content="ko">
|
||||
<title>ERROR</title>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="100%" height="100%" align="center" valign="middle" style="padding-top:150px;"><table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><span style="font-family:Tahoma; font-weight:bold; color:#000000; line-height:150%; width:440px; height:70px;">오류발생 알림화면(허용되지 않는 요청을 하셨습니다)</span></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
5
src/main/webapp/common/privilegeError.jsp
Normal file
5
src/main/webapp/common/privilegeError.jsp
Normal file
@@ -0,0 +1,5 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><script type="text/javascript">
|
||||
alert("해당 작업을 수행할 권한이 없습니다.");
|
||||
location.href = '/login.do';
|
||||
</script>
|
||||
5
src/main/webapp/common/sessionError.jsp
Normal file
5
src/main/webapp/common/sessionError.jsp
Normal file
@@ -0,0 +1,5 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><script type="text/javascript">
|
||||
alert("세션이 종료되었습니다.");
|
||||
location.href = '/login.do';
|
||||
</script>
|
||||
8
src/main/webapp/common/taglib.jsp
Normal file
8
src/main/webapp/common/taglib.jsp
Normal file
@@ -0,0 +1,8 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
|
||||
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
|
||||
%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"
|
||||
%><%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"
|
||||
%><%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"
|
||||
%><%@ taglib prefix="edosiFmt" uri="edosiFormatTagLib"
|
||||
%>
|
||||
10
src/main/webapp/common/validateError.jsp
Normal file
10
src/main/webapp/common/validateError.jsp
Normal file
@@ -0,0 +1,10 @@
|
||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
if("${message}" != ""){
|
||||
alert("${message}");
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
history.back();
|
||||
</script>
|
||||
3
src/main/webapp/common/validator.jsp
Normal file
3
src/main/webapp/common/validator.jsp
Normal file
@@ -0,0 +1,3 @@
|
||||
<%@ page language="java" contentType="javascript/x-javascript" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<validator:javascript dynamicJavascript="false" staticJavascript="true"/>
|
||||
Reference in New Issue
Block a user