시큐어코딩 적용

This commit is contained in:
KNKIM 2021-07-29 09:16:58 +09:00
parent db3d9f65ee
commit 42e0c9b79a
4 changed files with 70 additions and 70 deletions

View File

@ -27,11 +27,6 @@
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>

View File

@ -34,7 +34,7 @@
<c:set var="pageTitle">묻고답하기</c:set> <c:set var="pageTitle">묻고답하기</c:set>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="ko">
<head> <head>
<title>${pageTitle}</title> <title>${pageTitle}</title>
@ -141,7 +141,7 @@ function fn_view_detail(articleNo) {
// 그리드 데이터 조회 호출 // 그리드 데이터 조회 호출
function fn_search_article(pageSize, pageIndex) { function fn_search_article(pageSize, pageIndex) {
$("#jsGrid").jsGrid("search" $("#jsGrid").jsGrid("search"
, {'pageSize' : (pageSize ? pageSize : fn_getIntValue("pageSize", ${pageSize} )), , {'pageSize' : (pageSize ? pageSize : fn_getIntValue("pageSize", ${pageSize}) ),
'pageIndex': (pageIndex ? pageIndex : fn_getIntValue("pageIndex", 1)) 'pageIndex': (pageIndex ? pageIndex : fn_getIntValue("pageIndex", 1))
} }
); );
@ -167,12 +167,12 @@ function fn_search_article(pageSize, pageIndex) {
<input type="text" name="pageIndex" id="pageIndex" title="페이지번호" value="${pageIndex }" size="5" maxlength="5" /> <input type="text" name="pageIndex" id="pageIndex" title="페이지번호" value="${pageIndex }" size="5" maxlength="5" />
<input type="text" name="searchKeyword" id="searchKeyword" title="검색어" value="${searchKeyword }" size="35" maxlength="50" /> <input type="text" name="searchKeyword" id="searchKeyword" title="검색어" value="${searchKeyword }" size="35" maxlength="50" />
<input type="button" name="btnSearch" id="btnSearch" value="검색" /> <input type="button" name="btnSearch" id="btnSearch" title="검색버튼" value="검색" />
<div id="jsGrid" name="jsGrid" style="height: 100%"></div> <div id="jsGrid" name="jsGrid" style="height: 100%"></div>
<button type="button" name="btnNew" id="btnNew" class="float" <button type="button" name="btnNew" id="btnNew" class="float" title="글쓰기버튼"
onclick="javascript:location.href='${pageContext.request.contextPath}/board/insertQnAForm.do';">글쓰기</button> onclick="javascript:location.href='${pageContext.request.contextPath}/board/insertQnAForm.do';">글쓰기</button>
<input type="text" name="articleNo" id="articleNo" value="" title="선택글번호" readonly /> <input type="text" name="articleNo" id="articleNo" value="" title="선택글번호" readonly />

View File

@ -9,7 +9,16 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<c:url value='/css/nlib.css' />" rel="stylesheet" type="text/css"> <link href="<c:url value='/css/nlib.css' />" rel="stylesheet" type="text/css">
<title>${pageTitle}</title> <title>온라인 자료대출관리 (N-LIB)</title>
<script type="text/javascript">
//제목 설정
$( document ).ready(function() {
document.title = "[NLIB] " + $("#content-wrap-popup").find("title").text();
});
</script>
</head> </head>
<body> <body>
<div id="page-container"> <div id="page-container">
@ -19,11 +28,6 @@
<div id="footer-popup"><tiles:insertAttribute name="footer" /></div> <div id="footer-popup"><tiles:insertAttribute name="footer" /></div>
</div> </div>
<script type="text/javascript">
$(function() {
});
</script>
</body> </body>
</html> </html>

View File

@ -7,16 +7,26 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ko"> <html lang="ko">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<link href="${pageContext.request.contextPath}/css/nlib.css" rel="stylesheet" type="text/css" /> <link href="${pageContext.request.contextPath}/css/nlib.css" rel="stylesheet" type="text/css" />
<script src="${pageContext.request.contextPath}/js/jquery/jquery.min.js"></script> <script src="${pageContext.request.contextPath}/js/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath}/js/nlib.js"></script> <script src="${pageContext.request.contextPath}/js/nlib.js"></script>
<title>온라인 자료대출관리 (N-LIB)</title>
<script type="text/javascript">
// 제목 설정
$( document ).ready(function() {
document.title = "[NLIB] " + $("#content-wrap").find("title").text();
});
</script>
<title>온라인 자료대출관리 (N-LIB)</title>
</head> </head>
<body> <body>
@ -43,14 +53,5 @@
</div> </div>
</div> </div>
<script type="text/javascript">
// 제목 설정
$( document ).ready(function() {
document.title = "[NLIB] " + $("#content-wrap").find("title").text();
});
</script>
</body> </body>
</html> </html>