'IT > LINUX' 카테고리의 다른 글
리눅스 root 패스워드 설정 (0) | 2015.01.05 |
---|---|
리눅스설치 (0) | 2014.12.15 |
리눅스 파일 업로드 용량 설정 (0) | 2014.07.24 |
리눅스 사용자 비번수정하기 passwd 사용자계정 (0) | 2014.04.18 |
[linux] (0) | 2014.04.16 |
리눅스 root 패스워드 설정 (0) | 2015.01.05 |
---|---|
리눅스설치 (0) | 2014.12.15 |
리눅스 파일 업로드 용량 설정 (0) | 2014.07.24 |
리눅스 사용자 비번수정하기 passwd 사용자계정 (0) | 2014.04.18 |
[linux] (0) | 2014.04.16 |
org.apache.commons--> 다운로드
http://mvnrepository.com/artifact/org.apache.commons/commons-io/1.3.2
net.sf.json --> 다운로드
http://sourceforge.net/projects/json-lib/files/
com.sun.syndication-->다운로드
http://www.java2s.com/Code/Jar/c/Downloadcomspringsourcecomsunsyndication100jar.htm
com.springsource.com.sun.syndication-1.0.0.jar
org.apache.commons.logging--다운로드
http://commons.apache.org/proper/commons-logging/download_logging.cgi
org.apache.commons.digester-->다운로드
http://www.java2s.com/Code/Jar/c/Downloadcommonsdigester21jar.htm
org.apache.commons.fileupload.DiskFileUpload-->다운로드
http://www.java2s.com/Code/Jar/o/Downloadorgapachecommonsfileuploadjar.htm
org.apache.commons.fileupload.jar
javax.media.jai-->다운로드
Java 저장 함수/프로시저 (0) | 2019.12.11 |
---|---|
스프링 시작하기 (0) | 2019.11.07 |
[JAVA] 소수점 몇자리까지 출력 (0) | 2016.09.07 |
[JSP] 암호화 md5 하는 방법 (0) | 2014.05.13 |
Java 메일 발송에 필요한 라이브러리 다운로드 및 소스작성 (0) | 2012.03.17 |
jsp 에서 암호화 md5 하는 방법
<%!
private String getMD5( String strVal )
{
StringBuffer sb = new StringBuffer();
try
{
byte[] digest = java.security.MessageDigest.getInstance("MD5").digest( strVal.getBytes() );
sb.setLength(0);
for( int i = 0; i < digest.length; i++ ) {
sb.append( Integer.toString( ( digest[i] & 0xf0) >> 4, 16 ) );
sb.append( Integer.toString( digest[i] & 0x0f, 16 ) );
}
return sb.toString();
}
catch( Exception ex )
{
return "";
}
}
%>
<%
String str = "123";
String str1 = getMD5( str );
%>
<%= str1 %>
출처 : http://imjusti.egloos.com/viewer/2195032
DB로 입력할때 쿼리문
MSSQL
SELECT SUBSTRING(MASTER.dbo.FN_VARBINTOHEXSTR(HashBytes('MD5', '데이터 내용')), 3, 32)
mysql
select md5("123")
오라클 ???
Java 저장 함수/프로시저 (0) | 2019.12.11 |
---|---|
스프링 시작하기 (0) | 2019.11.07 |
[JAVA] 소수점 몇자리까지 출력 (0) | 2016.09.07 |
[java] org.apache.commons 다운받기 (0) | 2014.05.30 |
Java 메일 발송에 필요한 라이브러리 다운로드 및 소스작성 (0) | 2012.03.17 |
<script type="text/javascript">
<!--
$(document).ready(function() {
layer_open('layer1');
});
function layer_open(el) {
var tmp = $.cookie('popup_'+el);
if(tmp!="off"){
$.cookie('popup_'+el, 'on', { path: '/main/', expires: 1 });
}
$("p.pop_close").css({ "cursor":"pointer" });
$("p.today01").css({ "cursor":"pointer" });
var temp = $('#' + el);
var bg = temp.prev().hasClass('bg');
if (bg) {
$("div.layer:not(:animated)").slideToggle("slow");
} else {
temp.css("display","none");
temp.slideDown("slow");
}
temp.find('.pop_close img').click(function(e) {
if (bg) {
$("div.layer:not(:animated)").slideToggle("slow");
} else {
temp.slideToggle("slow");
}
e.preventDefault();
});
$('.layer .bg').click(function(e) {
$("div.layer:not(:animated)").slideToggle("slow");
e.preventDefault();
});
$('.today01 input:checkbox').click(function(e) {
var thisid2 = $(this).attr('id');
thisid3 = thisid2.substring(6,12);
$('#'+thisid3).slideToggle("slow");
e.preventDefault();
$.cookie(thisid2, 'off', { path: '/main/', expires: 1 });
});
}
</script>
<div id="layer1" class="pop-layer1">
<div id="pop_bg">
<div id="pop_wrap">
<div class="flexslider">
<ul class="slides">
<li>
<a href="#"><img src="../images/main/img1.jpg" alt="" /></a>
<a href="#"><img src="../images/main/img2.jpg" alt="" /></a>
</li>
<li><img src="../images/main/img1.jpg" alt="" /></li>
</ul>
</div>
<p class="clr"></p>
<p class="clr"></p>
<p class="today01"><input type="checkbox" name="layer_popup1" id="popup_layer1" value="checkbox" /><label for="popup_layer1"> 오늘 하루 열지 않음</label></p>
<p class="pop_close"><img src="../images/main/btn_close.gif" alt="닫기" /></p>
</div>
</div>
</div>
[jQuery] 마우스오버시 레이어 팝업창띄우기 (0) | 2018.02.11 |
---|---|
[jQuery] 현재 주소 및 호스트 가져오기 (0) | 2016.07.26 |
[jQuery] 해당갯수와 해당안에내용 가져오기 (0) | 2014.02.04 |
[jQuery] 자동슬라이드 (0) | 2014.02.04 |
[jQuery] 클릭시 태그값 바꾸기 (0) | 2013.12.11 |