Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 무선랜카드
- ASP
- Getrows
- disabled
- RTL88x2BU
- PHP GCM
- 커널
- 크로스 컴파일
- jQuery
- 따라다니는 배너
- euc-kr
- XMLHTTP
- DS718+
- jquery 레이어
- synology
- submit
- 시놀로지
- Injection
- javascript
- FileSystemObject
- replace
- SQL Injection
- include
- ajax
- AC1300
- readonly
- println
- utf-8
- form
- lsusb
Archives
- Today
- Total
목록Spring (2)
아는 것이 좋은 것이다.
[Spring] 뷰페이지 없이 Json 받기
@RequestMapping("/hello.do")public void NoViewPage(HttpServletResponse response) throws IOException { response.getWriter().print("{\"name\" : \"value\"}"); }
Spring
2015. 1. 16. 15:18
Spring jar 배포시 ROOT 설정하기
mySpring 라는 webapp 를 만들고 mySpring.war 로 배포할 경우 톰캣에서는 기본적으로 http://localhost:8080/mySpring 같이 URL에 app 명을 주어야 접근할 수 있습니다.mySpring 를 ROOT Context 에 할당해서 http://localhost:8080/ 로 연결할수 있도록 하는 방법이 있습니다. 1. jar 배포시에 파일명을 ROOT.jar 로 변경하여 서버에 올리면 http://localhost:8080/ 가 사용 가능해집니다. 2. 톰캣의 context root 설정을 변경하면 됩니다. {톰캣 설치경로}\conf\server.xml 의 파일을 수정하여 ROOT Context를 할당 할수 있습니다. * 단, ROOT와 mySpring 두 개의 C..
Spring
2015. 1. 9. 21:53