◆ 무한한 가능성/& JAVA 17

spring boot error, template might not exist or might not be accessible by any of the configured Template Resolvers

https://stackoverflow.com/questions/48569969/error-resolving-template-login-template-might-not-exist-or-might-not-be-acces Problem>try to use jsp or velocity, not thymeleaf. Solution> spring boot 사용시 오류template might not exist or might not be accessible by any of the configured Template Resolvers 나오면 application.properties 에 spring.thymeleaf.enabled=false 를 추가하기

[Salesforce] SOAP API, Unable to create/update fields: Product2Id. Please check the security settings o

ref.> https://success.salesforce.com/answers?id=90630000000gk6GAAQ SOAP APIPricebookEntry Robby WilliamsIs this an error in the dataloader, or are you doing this via SOAP/JAVA/C#? I've been using JAVA to write a program to write this, and ran into the exact same error. If you use the method of DescribeSObject for PRICEBOOKENTRY, you will see that only the following fields are updateable: UnitPri..

아마존 EC2 Java8 install 설치 (Amazon, AWS)

참고: https://www.mkyong.com/java/how-to-install-oracle-jdk-8-on-centos/ 0. 준비 - yum 확인 - root로 권한 변경 1. 자바 JDK8 다운로드(download jdk8) [root@ip-xxx-xx-xx-xx /]# pwd/home/ec2-user [root@ip-xxx-xx-xx-xx /]# wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.rpm * 최신버전은 위의 http로 시작하는..

서블릿(자바,JAVA)에서 JSP를 호출

출처.> http://www.silverwolf.co.kr/java/9899 컨테이너는 자신이 관리하는 콤포넌트들끼리 서로 호출할 수 있는 기능인 "요청 처리 부탁(Request dispatching)" 메커니즘을 제공합니다. 이 기능을 이용해서, 서블릿은 모델로부터 받은 정보를 Request 객체 안에 저장하고, JSP에 요청을 처리해줄 것을 부탁(dispatch)할 수 있습니다. 서블릿의 중요 변경 사항:Request 객체에 모델 콤포넌트로부터 받은 정보를 저장하는 것. 그래야 JSP가 이걸 꺼내 볼 수 있으니까요.컨테이너에게 요청을 result.jsp로 넘겨줄(forward) 것을 요청하는 것. // JSP가 나중에 읽을 수 있게 Request 객체의 속성(Attribute)에 값을 설정합니다. 나..

Excel Export in Spring MVC. 자바 스프링에서 엑셀저장 엑셀다운로드

Excel Export in Spring MVCExport as excel is one of the most wanted feature in an enterprise application. In this tutorial let us learn about export as excel feature using Spring MVC framework. If you are a beginner, go through the Spring MVC tutorial before taking this. We will be using Spring 3 annotation based approach for the web application.If you have learned Spring MVC, there is not much ..

자바(JAVA) 형 변환(String to Date, Date to String)

자바(JAVA) 형 변환(String to Date, Date to String) String to Date String from = "2013-04-08 10:10:10";SimpleDateFormat transFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Date to = transFormat.parse(from); Date to String Date from = new Date();SimpleDateFormat transFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");String to = transFormat.format(from); source.> http://nota.tistory.com/50

JAVA - 한글 인코딩 변환 체크 한방에 끝내기

1번 방법 JAVA - 한글 인코딩 변환 체크 한방에 끝내기 String word = "무궁화 꽃이 피었습니다.";System.out.println("utf-8 -> euc-kr : " + new String(word.getBytes("utf-8"), "euc-kr"));System.out.println("utf-8 -> ksc5601 : " + new String(word.getBytes("utf-8"), "ksc5601"));System.out.println("utf-8 -> x-windows-949 : " + new String(word.getBytes("utf-8"), "x-windows-949"));System.out.println("utf-8 -> iso-8859-1 : " + new Stri..