일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- jsr 296
- Ajax
- GPS
- swingx
- JDOM
- phonegap
- oracle
- Google Map
- node.js
- dock
- jQuery
- Eclipse
- JSON
- Android
- WebLogic
- sencha touch
- Spring
- 선택적조인
- appspresso
- ibsheet
- 가우스
- Struts
- MFC
- rowspan
- PLSQL
- 전자정부프레임워크
- MySQL
- tomcat
- iBATIS
- PHP
- Today
- Total
목록Developement (559)
Where The Streets Have No Name
1 2 3 4 5 6 7 8 9 10 * 첨부하실 파일의 수를 선택하신후 버튼을 눌러주십시오.(최대 첨부파일수 10)
주민등록번호 : - 생년월일 : 년 월 일생 성 별 : 남자 여자
//-을 넣어서 체크해도 되고 숫자만 보내도 됨니다..^^ //멜로 연락주시면 설명이나 다른 스크립트도 갈차드릴수 있슴다.. //lky@oyesnet.com function chkWorkNumb(strNumb) { strNumb = Replace(strNumb,"-"); if (strNumb.length != 10) { alert("사업자등록번호가 잘못되었습니다."); return false; } sumMod = 0; sumMod += parseInt(strNumb.substring(0,1)); sumMod += parseInt(strNumb.substring(1,2)) * 3 % 10; sumMod += parseInt(strNumb.substring(2,3)) * 7 % 10; sumMod += pa..
localhost : 데이타베이스가 있는 서버의 IP port : 데이타베이스가 사용중인 PORT dbname : 데이타베이스이름 RID : 오라클 커넥션 ID #[Opta2000]drivers=com.inet.tds.TdsDriver #[Oracle8i이상]drivers=oracle.jdbc.driver.OracleDriver #[sybase jdbc 5.x]drivers=com.sybase.jdbc2.jdbc.SybDriver #[sybase jdbc 4.x]drivers=com.sybase.jdbc.SybDriver #[mysql3.x이상]drivers=com.mysql.jdbc.Driver #[sqlserver2000]drivers=com.microsoft.jdbc.sqlserver.SQLServ..
javascript 의 parseInt 메소드 사용시, "08", "09" 을 사용시에는 내용이 0 으로return 됩니다.이유는 parseInt 는 '0' 으로 시작되는 문자열은 8진수, 0x로 시작되는 문자열은 16진수로 인식하기때문에 결과값이0으로 나오는것이지요. 이 문제를 해결하려면, 다음과 같이 사용하여야 합니다. parseInt("08", 10); 뒤의 10은 진법을 나타내며, 2 부터 36까지의 값을 사용합니다.
......... .................. ............ ............ 0 톰캣 서버가 시작하는 시점은 아니고, 컨텍스트의 웹 애플리케이션이 톰캣 서버에 의해 인식되는 시점입니다. load-on-startup 엘리먼트에 적어준 숫자가 음의 정수인 경우: 그 서블릿에 접근될 때 (즉, load-on-startup 엘리먼트가 없는 경우와 동일함) 0 이거나 양의 정수인 경우: 그 서블릿이 배치(deploy)될 때 (즉, 컨텍스트가 인식될 때) 숫자가 작은 것 부터 먼저 로딩된다.
javascript:alert(document.cookie)주소창에 입력해보세요.
function getObject(objectId) { // checkW3C DOM, then MSIE 4, then NN 4. // if(document.getElementById && document.getElementById(objectId)) { return document.getElementById(objectId); } else if (document.all && document.all(objectId)) { return document.all(objectId); } else if (document.layers && document.layers[objectId]) { return document.layers[objectId]; } else { return false; } }
=0){ int i=Agent.indexOf('M',2);//두번째 'M'자가 있는 위치 String IEV=Agent.substring(i+5,i+8); if(IEV.equalsIgnoreCase("5.5")){ response.setHeader("Content-Disposition", "filename="+new String(filename.getBytes("euc-kr"),"8859_1")); }else{ response.setHeader("Content-Disposition", "attachment;filename="+new String(filename.getBytes("euc-kr"),"8859_1")); } }else{ response.setHeader("Content-Disposition",..
DispatchAction을 이용해서 회원접근을 관리하는 방법이다. 급조한 거라 이런식으로 하면된다는 것이고 나머지는 응용해서 하면된다. GuestLoginAction 클래스로 만들고 GuestAction 에서 이를 상속받으면 간단하게 해결된다. * GuestLoginAction import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache...
java.text.NumberFormat.getInstance(Locale.KOREA).format(1000000); java.text.NumberFormat.getCurrencyInstance(Locale.KOREA).format(1000000);
Enumeration enum = request.getParameterNames(); while(enum.hasMoreElements()) { String key = (String)enum.nextElement(); String value = request.getParameter(key); out.println(key + " : " + value+" "); } 배열로 넘어온 값 보기 //checkbox나 폼에서 동일 fields 명으로 여러개를 보내면 배열로 넘어온다. String test[] = request.getParameterValues("test"); if(test != null) { for(int i=0; i < test.length; i++) { out.println("test[" + i +..
http://okjsp.pe.kr/bbs?act=VIEW&seq=58014&bbs=bbs4&keyfield=content&keyword=&pg=8 (내부 보안문제로 설정의 세부사항은 "사용자설정"으로 표기합니다.)위 처럼 Engine 태그내에 reloadable에 true 말고도 Loader 태그로 checkInterval의 지정함으로서 톰캣의 컨텍스트 리로드 시기를 극적으로 앞당길수 있습니다. 물론 개발시에만 사용해야 겠죵? (성능문제가...) 또는 등의 형식으로 컨텍스트내에서 사용할수도 있습니다. context에서는 relodable을 true로 설정해 주셔야 합니다.apache.org에서는 checkIntervalThe number of seconds between checks for modifie..
http://www.jakartaproject.com/article/javascripttip/1119919717585
web.xml에 config /WEB-INF/struts-config.xml,/WEB-INF/struts-config-system.xml,...
JDBC Code Templates 1. Connection *. To open a connection using thin driver : DriverManager.getConnection("jdbc:oracle:thin:@::", "scott", "tiger"); OR DriverManager.getConnection("jdbc:oracle:thin:@(description=(address=(host=)(protocol=tcp)(port=))(connect_data=(sid=)))", "scott","tiger"); *. To open a connection using OCI driver. To use the default connection. DriverManager.getConnection("jdb..
http://okjsp.pe.kr/bbs?act=VIEW&seq=62029&bbs=bbs4&keyfield=content&keyword=&pg=5 String[] seq = req.getParameterValues("seq"); String[] code = req.getParameterValues("code"); String[] name_arr = new String[seq.length]; System.out.println("seq.length : " + seq.length); System.out.println("code.length : " + code.length); for(int i=0;i
복사와 제거 예제 1 2 3 4 5 6 7 8 9 이동과 제거 예제 1 2 3 4 5 6 7 8 9