| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- Exception
- 설정
- 문서
- PostgreSQL
- Python
- STS
- JDBC
- Spring Boot
- myBatis
- oracle
- SpringBoot
- Tomcat
- ubuntu
- maven
- Thymeleaf
- Docker
- Eclipse
- spring
- git
- error
- IntelliJ
- Open Source
- Source
- MySQL
- jpa
- MSSQL
- 오픈소스
- Core Java
- JavaScript
- AJAX
- Today
- Total
목록httpURLConnection (2)
헤르메스 LIFE
public String executeJSP(String urlstr) { URL url = null; BufferedReader in = null; URLConnection con = null; String returnMsg = ""; try { url = new URL(urlstr); con = url.openConnection(); con.connect(); System.out.println("++++++++Start+++++++++++"); System.out.println("getContentType() : " + con.getContentType() ); System.out.println("getContentLength() : " + con.getContentLength()); System.o..
출처 : http://blog.naver.com/hazard11?Redirect=Log&logNo=80028745174 HttpURLConnection으로 특정 주소에 접근하는 경우를 종종 볼수 있습니다. 해당 웹서버/WAS 에서 요청헤더의 특정 값이 필요한 경우, 이를 세팅해주어야하며, 응답헤더에서 내려오는 특정 값이 필요한 경우, 해당 값을 가져와야합니다.. final public static String PUT = "Cookie"; final public static String GET = "Set-Cookie"; public static void main(String[] args) { HttpURLConnection con = null; String line = null; String cookie..