• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / itsm_git star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
itsm_gitsrcmainwebappWEB-INFjspcmmchptchacaptchaTest.jsp
Download as .zip file
File name
Commit message
Commit date
DATABASE
첫번째 커밋
06-19
service/impl
첫번째 커밋
06-19
src/main
첫번째 커밋
06-19
web
첫번째 커밋
06-19
.gitignore
첫번째 커밋
06-19
pom.xml
첫번째 커밋
06-19
searchQuery.sql
첫번째 커밋
06-19
File name
Commit message
Commit date
java/egovframework
첫번째 커밋
06-19
resources
첫번째 커밋
06-19
webapp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
WEB-INF
첫번째 커밋
06-19
common
첫번째 커밋
06-19
crosseditor/binary/images
첫번째 커밋
06-19
css
첫번째 커밋
06-19
direct
첫번째 커밋
06-19
font-flexslider
첫번째 커밋
06-19
fonts
첫번째 커밋
06-19
html
첫번째 커밋
06-19
images
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
se2
첫번째 커밋
06-19
sso
첫번째 커밋
06-19
email.txt
첫번째 커밋
06-19
engleftmenu03.html
첫번째 커밋
06-19
engleftmenu04.html
첫번째 커밋
06-19
engleftmenu05.html
첫번째 커밋
06-19
engleftmenu06.html
첫번째 커밋
06-19
index.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
config/egovframework/springmvc
첫번째 커밋
06-19
jsp
첫번째 커밋
06-19
lib
첫번째 커밋
06-19
decorators.xml
첫번째 커밋
06-19
sitemesh.xml
첫번째 커밋
06-19
web.xml
첫번째 커밋
06-19
weblogic.xml
첫번째 커밋
06-19
File name
Commit message
Commit date
cmm
첫번째 커밋
06-19
cnt
첫번째 커밋
06-19
com/utl/wed
첫번째 커밋
06-19
cop
첫번째 커밋
06-19
egovframework/com/uss/ion/bnr
첫번째 커밋
06-19
kopost/search
첫번째 커밋
06-19
layout
첫번째 커밋
06-19
main
첫번째 커밋
06-19
sec
첫번째 커밋
06-19
sounds/ko/numbers
첫번째 커밋
06-19
sts/cst
첫번째 커밋
06-19
sym
첫번째 커밋
06-19
test/insa
첫번째 커밋
06-19
uat
첫번째 커밋
06-19
uss
첫번째 커밋
06-19
blank.jsp
첫번째 커밋
06-19
blankUserDirect.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
chptcha
첫번째 커밋
06-19
error
첫번째 커밋
06-19
fms
첫번째 커밋
06-19
sym
첫번째 커밋
06-19
uss/umt
첫번째 커밋
06-19
validator.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
captchaAudio.jsp
첫번째 커밋
06-19
captchaImg.jsp
첫번째 커밋
06-19
captchaTest.jsp
첫번째 커밋
06-19
captchaTest_back.jsp
첫번째 커밋
06-19
rosewiper 06-19 7ef7d0e 첫번째 커밋 UNIX
Raw Open in browser Change history
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <script type="text/javascript"> $(document).ready(function(){ $('#frmSubmit').click(function(){ if(!$('#answer').val()){ alert('이미지에 보이는 숫자 또는 스피커를 통해 들리는 숫자를 입력해 주세요.'); }else{ $.ajax({ type:"POST", url:"/captcha/captchaSubmit.do", data:{ "answer": $('#answer').val() }, dataType:'jsonp', success:function(returnData, status){ if(status == "success") { alert(returnData.message) }else{ alert("ERROR!");return;} }, error:function(request , status, error){ alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); } }); } }); }); function audio(){ var rand = Math.random(); var url = '/captchaAudio.do'; $.ajax({ url: url, type: 'POST', dataType: 'text', data: 'rand=' + rand, async: false, success: function(resp) { var uAgent = navigator.userAgent; var soundUrl = '/captchaAudio.do?rand=' + rand; if(uAgent.indexOf('Trident') > -1 || uAgent.indexOf('MSIE') > -1) { winPlayer(soundUrl); } else if (!!document.createElement('audio').canPlayType) { try{ new Audio(soundUrl).play(); } catch(e) { winPlayer(soundUrl); } }else { window.open(soundUrl, '', 'width=1, height=1'); } } }); } function refreshBtn(type){ var rand = Math.random(); var url = "/captchaImg.do?rand=" + rand; $('#captchaImg').attr("src", url); } function winPlayer(objUrl){ $('#captchaAudio').html('<vgsound src="' + objUrl + '">'); } </script> <form name="frmSubmit" method="post" action="/"> <div class="form-group"> <label for="captcha" style="display:block;">자동 로그인 방지</label> <div class="captcha"> <div class="form-group"> <img id="captchaImg" title="캡차 이미지" src="/captchaImg.do" alt="캡차 이미지" /> <div id="captchaAudio" style="display:none;"></div> </div> <div class="form-group"> <a onclick="javascript:refreshBtn()" class="refreshBtn"> <input type="button" value="새로고침" /> </a> <a onclick="javascript:audio()" class="refreshBtn"> <input type="button" value="음성듣기" /> </a> </div> <div class="form-group"> <input type="text" name="answer" id="answer" class="form-control" /> <input type="button" id="frmSubmit" value="확인" /> </div> </div> </div> </form>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up