목록Post (4)
어느 가을날의 전환점
리눅스에는 curl 이라는 http 메시지를 쉘상에서 요청하여 결과를 확인하는 명령어 1. POST 메소드 사용shell>curl -d "req=12312" "http://111.111.111.111:8080/service.jsp"(curl -d 옵션 "요청내용(파라미터등)" URL) 2. GET 메소드 사용shell>curl "http://111.111.111.111:8080/service.jsp?req=1234" 기타 옵션 -i 는 결과에서 header 와 body 표시. -I 는 결과에서 header 만 표시
POST방식으로 서버에 요청 된 한글 인코딩 지정 방법.requset.setCharacterEncoding("euc-kr"); Get방식으로 서버에 요청 된 한글 인코딩 지정 방법. {apache tomcat 설치디렉토리}/conf/server.xml #참고1) http://blog.daum.net/istae0430/184
[오류 메시지] 11월 29, 2012 5:24:35 오후 org.apache.tomcat.util.http.Parameters processParameters경고: More than the maximum number of request parameters (GET plus POST) for a single request ([10,000]) were detected. Any parameters beyond this limit have been ignored. [해결 방안]../Tomcat/conf/server.xml HashDos 공격의 막기 위한 톰캣의 제한에 따른 경고 메시지 임.HashDos 공격은 많은 HTTP Request Parameter (String 형태)를 만들어, hash contens..
# 데이터베이스 유형 변경하기 Database > Choose Database.. Oracle / SQL Server 1. 스크립트 생성 코드 등록. 1) Database > Pre & Post Scripts > Model-Level... 실행. 2) Display: Model-level Only 선택 3) New 버튼 클릭 후 Code 탭에 아래 스크립트 추가. ORACLE용 Comment 코드 %ForEachTable() { COMMENT ON TABLE %TableName IS '%EntityName'; %ForEachColumn() { COMMENT ON COLUMN %TableName.%ColName IS '%AttName'; } } MS-SQL용 Comment 코드 %ForEachTable()..