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 | 31 |
Tags
- AWS Practitioner 공부
- ClassNotdefFound
- JBoss Support
- RabbitMQ Python
- ams 자격증 준비
- jersey servlet error
- webserver cors
- 다테 민속촌
- AWS Certified Cloud Practitioner
- WebLogic Stack Size
- OPSS DemoIdentity
- WebLogic 사설인증서
- Stack Size
- was log4j
- log4j 보안취약
- JBoss JDK
- iPlanet7
- iPlanet cors
- weblogic jersey
- WebLogic 데모 인증서 먼저 인식
- JBoss7
- org.glassfish.jersey.internal.Errors logErrors
- 1024k
- JBoss OS
- weblogic 500 error
- Tomcat
- RabbitMQ Tuttorials
- AWS module 1
- WebLogic log4j
- RabbitMQ 테스트
Archives
- Today
- Total
개인 저장용 블로그
[JSP] 한글 깨짐 본문
WAS 환경 구성이 변경되지 않았는데 어느 순간 부터 한글이 깨지기 시작하였다.
>> curl 로 호출했을때 아래처럼 한글이 깨짐
[weblogic@localhost cast]$ curl http://192.168.56.242:10521/cast/index_on.jsp <html> <head> <title>?¸꽿 ????</title> </head> <body> 방문 ????(session): 1<br> <p> <h3>?¸꽿 ??뱿 : </h3> ?¸꽿 ID: yy2wnzu1unzr8hxtm5Ob-fxKBvxEDxx7YnKf-uhJ1eS1HjlXgyXI!1154349984!NONE!1652230667189<br> ?¸꽿 ???¨꽿ꮿ(첿): 60<br> ?¸꽿 ????: true<br> ???? ??ꮿ: 1652230667189 <i>(Wed May 11 09:57:47 KST 2022)</i><br> 륿쥿륿 참조 ??ꮿ: 1652230667189 <i>(Wed May 11 09:57:47 KST 2022></i><br> ?¸꽿 ??찿 ?¬齨콿??): false<br> ?¸꽿 ???? ?¬齺 false<br> Host ?´齠: localhost<br> Host IP : 127.0.0.1<br> <br> SERVER_NAME : svr1<br> <h3>Cookie ꮿ?? </h3> <h3>Keys</h3> count:1 <br> </body> </html> |
<%@ page contentType="text/html;charset=euc-kr"%> 사용하고 있었다.
--->
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
language, pageEncoding 설정을 추가해주면 된다.
>> curl 로 호출했을때 아래처럼 한글이 안깨짐
[weblogic@localhost cast]$ curl http://192.168.56.242:10521/cast/index_on.jsp <html> <head> <title>세션 예제</title> </head> <body> 방문 횟수(session): 1<br> <p> <h3>세션 정보 : </h3> 세션 ID: 3pqwpZG1gsIIUEBtSsgPJOPiV4Aj5m5YITMtGX6tLlG15BCyESpj!1154349984!NONE!1652231082421<br> 세션 유효시간(초): 60<br> 세션 생성: true<br> 생성 시간: 1652231082421 <i>(Wed May 11 10:04:42 KST 2022)</i><br> 마지막 참조 시간: 1652231082421 <i>(Wed May 11 10:04:42 KST 2022></i><br> 세션 요청 여부(쿠키): false<br> 세션 유효 여부: false<br> Host 이름 : localhost<br> Host IP : 127.0.0.1<br> <br> SERVER_NAME : svr1<br> <h3>Cookie 값들 </h3> <h3>Keys</h3> count:1 <br> </body> </html> |