Color Scripter Blogger

https://colorscripter.com/  HTML로 복사   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 32 33 34 35 36 37 38 39 40 41 42 package  com.mycom.myapp;   import  java.text.DateFormat; import  java.util.Date; import  java.util.Locale;   import  org.slf4j.Logger; import  org.slf4j.LoggerFactory; import  org.springframework.stereotype.Controller; import  org.springframework.ui.Model; import  org.springframework.web.bind.annotation.RequestMapping; import  org.springframework.web.bind.annotation.RequestMethod;   /**  * Handles requests for the application home page.  */ @Controller public   class  HomeController {           private   static   final  Logger logger  =  LoggerFactory.getLogger(HomeController. class );         ...

1234567891123456789212345678931234567894123456789512345678961234567897123456789812345678991234567890

https://highlightjs.org/ https://github.com/highlightjs/highlight.js https://github.com/highlightjs/highlight.js/tree/master/src/styles 테마>내테 마>HTML 편집 https://github.com/highlightjs/highlight.js/blob/master/SUPPORTED_LANGUAGES.md <pre> <code class="html"> <link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/agate.min.css" rel="stylesheet"/> </code> </pre> class  java, jsp  javascript, js  9 code,kbd,pre,samp{font-family:Consolas,monospace,monospace;font-size:0.9em} 2957 <link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/agate.min.css" rel="stylesheet"/> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"/> <pre name="code" class="php"> echo "I like PHP"; </pre> ...

유해물질 발암물질 생리대

중앙일보 - 유해물질 나온 생리대 11곳 리스트  https://news.joins.com/article/21906356 소피 - 바디피트 깨끗한 나라 - 릴리안 유한킴벌리 - 좋은느낌, 좋은순면 화이트 위스퍼 등 ▼유해물질 나온 생리대 11곳 리스트▼     그나랜 시크릿 면 생리대 릴리안 순수한면 울트라 슈퍼가드 중형   릴리안 팬티라이너 베이비파우더향 릴리안 팬티라이너  로즈향 바디피트 귀애랑 울트라슬림날개형 바디피트 볼록맞춤 울트라슬림날개형 위스퍼 보송보송 케어 울트라 중형 좋은느낌 울트라 중형 날개형 좋은느낌 좋은순면라이너 화이트 애니데이 팬티라이너 로즈마리향 화이트 애니데이 순면 커버 일반   [출처: 중앙일보] [카드뉴스] 유해물질 나온 생리대 11곳 리스트

UriComponentsBuilder

스프링 부트로 배우는 자바 웹 개발 5.6 REST 클라이언트 개발 - 137 5.6.1 RestTemplate - 137 5.6.2 UriComponentsBuilder 활용 - 139 5.6.3 HTTP 메서드별 RestTemplate 메서드 명세 - 141 http://movie.naver.com/movie/sdb/rank/rmovie.nhn UriComponentsBuilder.newInstance().sheme("http") .host("movie.naver.com") .port(80) .path("/movie/sdb/rank/rmovie.nhn") .build() .encode() .toUrl(); X 너모복잡안써

spring influxDB Java

Using InfluxDB with Java https://www.baeldung.com/java-influxdb pom.xml <dependency>      <groupId>org.influxdb</groupId>      <artifactId>influxdb-java</artifactId>      <version>2.8</version> </dependency>
https://www.fila.co.kr/product/view.asp?ProductNo=34628 퍼포먼스 짐백 59,000원 가로: 37, 폭: 14, 높이: 21 cm 국민카드 리니어 빅로고 롤백 49,000원 가로: 40, 폭:20, 높이:20CM 휠라 PU 미니 가로형 크로스 가로: 27, 폭: 8, 높이: 18CM FS3BSB5201X_INA 휠라 PU 보스톤백 가로: 43, 폭: 19, 높이: 29CM https://www.fila.co.kr/product/view.asp?productNo=33314

라마다호텔 속초

정보 대포항에 위치해있어 바로 옆에 등대가 보인다. 바로 앞에 작은 횟집들이 즐비해있고 대게가 주 메뉴 장점 사람 좋음 프론트, 청소해주시는 분, 차 안내하시는 분 다 좋은 편 근데 너무 좁음 라마다모텔 얘기가 괜히 나오는 게 아님 어매니티도 모텔스러움 비싸게 큰 방 예약했는데 생각보다 좁았음 재밌게 놀고 오긴 했는데 가격에 비해 방이 너무 좁았음 실내 온탕 수영장있어서 애랑 놀기엔 좋음 근데 수영장이 좀 좁고 천장이 낮아서 좀 답답할 수 있다. 목욕탕같다 수영장 투숙객 할인 1인 11000원 정도 받았던거 같다. 단점 가격에 비해 방이 좁은 편이다 우리 방은 그나마 방이 여러개였는데 지나가면서 원룸? 방 한개짜리 방 봤는데 침대 앞에 간신히 걸어다닐 정도밖에 없음..ㄷㄷ 호텔부페 대게, 초밥 등 해산물이 있다. 대게가 주메뉴 단점?이랄까 단점이라기 하기엔 좀 그렇기도 한데, 매니저가 너무 돌아다닌다. 왜 그러지 담엔 옆에 롯데리조트속초갈거다...

Spring Session Timeout 스프링 세션 타임아웃 설정

Spring version ? WEB-INF/web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> ...         <session-config> <session-timeout> 0 </session-timeout> </session-config> </web-app> 단위 분 minute 디폴트 30분 0은 타임아웃 없음 무한대 https://blueyikim.tistory.com/253

javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" in <forEach>

javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" in &lt;forEach&gt; jsp <c:forEach var="list" items="${list}"> 에서 list가 아닌 값을 items에 넣었을 때 발생하는 에러 class A의 멤버에 리스트가 있는데 class A 자체를 대입시켰더니 에러남 Controller model.addAttribute("list", ClassA); -> Solution: model.addAttribute("list", ClassA.getList()); https://hadoobidoop.tistory.com/entry/%EC%8A%A4%ED%94%84%EB%A7%81-%EC%98%A4%EB%A5%98-%EC%9D%BC%EA%B8%B0-javaxservletjspJspTagException-Dont-know-how-to-iterate-over-supplied-items-in-ltforEachgt

Spring Log

- commons-logging + s, log4j https://sjh836.tistory.com/161 Controller.java import org.slf4j.Logger; import org.slf4j.LoggerFactory; @Controller public class Controller {     private static final Logger logger = LoggerFactory.getLogger(Controller.class); } 2019-08-21 17:38:27 [INFO ] (Controller.home:120) |LOGINFORM| src/main/resource/log4j.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <!-- Appenders --> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} [%-5p] (%C{1}.%M:%L) %m%n...

spring controller redirect

http://www.baeldung.com/spring-redirect-and-forward http://sime.tistory.com/119

git

s@hb5002 MINGW64 /c/purplike/workspace (master) $ git add *.java warning: LF will be replaced by CRLF in Project_Shop/src/main/java/com/mj/shop/HomeController.java. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in Project_Shop/src/main/java/com/mj/shop/member/MemberController.java. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in Project_Shop/src/main/java/com/mj/shop/product/ProductController.java. The file will have its original line endings in your working directory. s@hb5002 MINGW64 /c/purplike/workspace (master) $ git add *.xml warning: LF will be replaced by CRLF in .metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.8.3.20180227-2137.xml. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in .metadata/.plugins/org.eclipse.wst.server.core/tmp0/conf/context.xml. T...

model viewname

/shop/detail?p_code=#  model.setViewName("detail?p_code="+vo.getId()); //WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/shop/WEB-INF/views/detail] in DispatcherServlet with name 'appServlet' return model;

java.lang.IllegalStateException: Type handler was null on parameter mapping for property 'imgFile'. It was either not specified and/or could not be found for the javaType (org.springframework.web.multipart.MultipartFile) : jdbcType (null)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSession' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed to parse config resource: class path resource [mybatis-config.xml]; nested exception is org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalStateException: Type handler was null on parameter mapping for property 'imgFile'. It was either not specified and/or could not be found for the javaType (org.springframework.web.multipart.MultipartFile) : jdbcType (null) combination. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1634) at org.springframework.beans.f...