출처 : 스프링3(Spring3)MVC 연동 (3) - 서버값 웹페이지로 전송하기 :: 야근싫어하는 개발자 파라미터 전달 (클라이언트 -> 서버) java 소스 @RequestMapping(value = "/sum_result1.iot", method = RequestMethod.GET) public String sum_result1( @RequestParam("param1") int param1, @RequestParam("param2") int param2, ModelMap modelMap ) Get 파라미터 전달 http://localhost:7070/IotWebServer/sum_result1.iot?param1=2¶m2=3 서버값 클라이언트에 전달 (서버 -> 클라이언트) java 소스 ..
출처 : Web.xml의 개요, 기능, 활용 web.xml Listener, Filter의 활용 톰캣 web.xml 설명 [Spring] web.xml 기본 설정 파일 위치 %PROJECT_HOME%\WEB-INF\web.xml 기본 web.xml 파일 IotWebServer webAppRootKey com.bluexmas.ui 720 *.jsp UTF-8 /servlet/* UTF-8 index.jsp index.html 서블릿 추가 서블릿 파일 package com.iot.servlet; import java.io.IOException; import java.io.PrintWriter; import java.util.Enumeration; import javax.servlet.ServletExcept..
출처 : JAXB(위키백과) @XMLAccessorType, @XMLRootElement JAXB 2.0 Annotation 정리 How to customise an XML export using JAXB Creating a Generic List Wrapper in JAXB JAXB(Java Architecture for XML Binding)는 자바 클래스를 XML로 표현하는 자바 API이다. JAXB는 주로 2가지 기능이 있다. 자바 객체를 XML로 직렬화하는 것이고 반대로 XML에서 자바 객체로 역직렬화하는 것이다. 즉, JAXB는 메모리의 데이터를 XML 형식으로 변환하여 저장할 수 있고, 이 과정을 위해 프로그램의 각 클래스에서 XML을 읽고 저장하는 일을 구현해야 한다. JAXB 2.0 An..
출처 : Spring Security login/logout 관련 글 Spring Security Logout Example Spring Security 3 - 맛보기와 기본 설정의 이해 web.xml contextConfigLocation /WEB-INF/baroCOST-datasource.xml /WEB-INF/baroCOST-security.xml org.springframework.web.context.ContextLoaderListener springSecurityFilterChain org.springframework.web.filter.DelegatingFilterProxy springSecurityFilterChain /* baroCOST-security.xml Spring Security..
참고 : http://camel.apache.org/jms.htmlRouteBuilder from("jms:queue:test1?maxConcurrentConsumers=1&maxMessagesPerTask=1&autoStartup=true&preserveMessageQos=true") .bean(com.bluexmas.Test1Queue.class, "doTest") .to("jms:queue:test2"); from("jms:queue:test2?maxConcurrentConsumers=1&maxMessagesPerTask=1&autoStartup=true&preserveMessageQos=true") .bean(com.bluexmas.Test2Queue.class, "doTest") .to("str..
출처 : Chapter 19. Quartz 혹은 Timer 를 사용한 스케쥴링 DongHoReportBatch.java package com.blueX.batch; import java.text.SimpleDateFormat; import java.util.Date; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import org.springframework.scheduling...
DigestUtils package bluexmas.utils; import java.io.FileNotFoundException; import java.io.RandomAccessFile; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class DigestUtils { public static String extractStringHashSHA256(String str){ String SHA = ""; try{ MessageDigest sh = MessageDigest.getInstance("SHA-256"); sh.update(str.getBytes()); byte byteData[] =..
- Total
- Today
- Yesterday
- Spring MVC
- 송주경
- BPI-M4
- koba2010
- Mac
- NDK
- KOBA
- Spring
- Linux
- 일본여행
- oracle
- Xcode
- 레이싱모델 익스트림 포토 페스티벌
- JavaScript
- ffmpeg
- 튜닝쇼 2008
- 전예희
- Delphi Tip
- flex
- 서울오토살롱
- sas2009
- Java
- ubuntu
- SAS
- ble
- MySQL
- 지스타2007
- Delphi
- android
- 동경
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |