Native Data Type Code Native Data Type Codehibernate 객체 관계 매핑 프레임워크에서 사용할 때 쓰는 정의된 코드 Database/MySQL 2019. 9. 26. 15:52
String Encoding Check String Encoding CheckString originalStr = "A×½ºÆ®"; // 테스트 String [] charSet = {"utf-8","euc-kr","ksc5601","iso-8859-1","x-windows-949"}; for (int i=0; i Backend/Java 2019. 9. 26. 10:24
자바 버전별 링크 자바 버전별 링크Java(JDK) 1.5http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html Java(JDK) 1.6 http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html Java(JDK) 1.7 http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html Java(JDK) 1.8 http://www.oracle.com/technet.. 카테고리 없음 2019. 9. 24. 18:10
Apache Tomcat Download Link Apache Tomcat Download Linkhttps://archive.apache.org/dist/tomcat/tomcat-5/v버전/bin/ex) https://archive.apache.org/dist/tomcat/tomcat-5/v5.5.26/bin/ 유용한 것 2019. 9. 18. 21:27
SSL 미사용 및 파라미터 추가할 경우 SSL 미사용 및 파라미터 추가할 경우 MySQL 5.7 버전 이 후 부터는 기본적으로 SSL설정이 true로 되어있다. 따라서 useSSL=false를 안하면 SSL을 설정하라는 경고문구가 콘솔창에 많이 뜬다.꼴보기 싫으면 위와같이 useSSL=false를 추가하면 되며 파라미터 형식으로 추가할 경우 XML이기 때문에 `&` 말고 `&`를 써야한다.안그러면 The reference to entity "useSSL" must end with the ';' delimiter. 에러가 발생한다. Backend/Spring 2019. 9. 11. 23:27
iframe & 자식창에서 부모 링크 바꾸기 iframe & 자식창에서 부모 링크 바꾸기window.parent.location.href = "http://test.co.kr/aaa.php/bbbb"; 팝업인 경우 window -> opener $("부모창에서의 위치", opener.document).val(자식창에서의 값); 자식창에서 부모창에 값 전달 (함수실행은 왜 안되는걸까 방법알면 나중에 적어두도록) Frontend/Javascript 2019. 9. 11. 14:03
Javax Mail 첨부파일 Javax Mail 첨부파일 @Overridepublic boolean send(MailVO mail) { MimeMessage message = javaMailSender.createMimeMessage(); try { message.setFrom(new InternetAddress(mail.getFrom())); message.setRecipient(MimeMessage.RecipientType.TO, new InternetAddress(mail.getTo())); message.setSubject(mail.getSubject()); MimeBodyPart messageBodyPart = new MimeBodyPart(); Multipart multipart = new MimeMultipart(); .. Backend/Spring 2019. 9. 11. 12:37
3.1.1 파일업로드 3.1.1 파일업로드 commons-fileupload commons-fileupload 1.2.1 commons-io commons-io 2.4 public String upload(MultipartHttpServletRequest multipartRequest) { //Multipart로 받는다. // 파일 업로드 List mf = mr.getFiles("file[]"); String filePath = "C:/upload"; for (int i=0; i Backend/Spring 2019. 9. 10. 19:43
Certbot - Centosrhel7 Apache Certbot - Centosrhel7 Apache환경 : CentOS 7 / Apache 2.4.6https://certbot.eff.org/lets-encrypt/centosrhel7-apache SSH into the serverSSH into the server running your HTTP website as a user with sudo privileges.Enable EPEL repoYou'll need to enable the EPEL (Extra Packages for Enterprise Linux) repository. Follow these instructions at the Fedora wiki to enable EPEL.Enable the optional channelIf you.. 유용한 것 2019. 9. 2. 23:58