본문 바로가기
웹프로그래밍/JSP

클라이언트 정보

by 폴더맨 2024. 6. 8.

클라이언트 정보

<%@ page language="java" contentType="text/html; charset=EUC-KR" %>
<HTML>
<BODY>
	<ul>
		<li>클라이언트 주소 : <%=request.getRemoteAddr()%>
		<li>요청 정보 길이 : <%=request.getContentLength()%>
		<li>인코딩 : <%=request.getCharacterEncoding()%>
		<li>문서 타입 : <%=request.getContentType()%>
		<li>프로토콜 : <%=request.getProtocol()%>
		<li>전송방식 : <%=request.getMethod()%>
		<li>요청 URI : <%=request.getRequestURI()%>
	</ul>
</BODY>
</HTML>

'웹프로그래밍 > JSP' 카테고리의 다른 글

폼처리  (0) 2024.06.08
서버정보  (0) 2024.06.08
출력버퍼  (0) 2024.06.08
선언  (0) 2024.06.08
표현식  (0) 2024.06.08