나는 나의 클라이언트에서 다음 코드를 사용했습니다 :서버 측 콘텐츠에 액세스하는 방법은 무엇입니까?
HttpPost post = new HttpPost(url);
post.setEntity(new ByteArrayEntity(myString.getBytes("UTF8")));
HttpResponse response = this.execute(post);
지금은 서버 측에 문자열을 액세스하고 싶습니다. 다음과 같이 핸들 방법은 같습니다
는public void handle(String target, Request baseRequest, HttpServletRequest request,
HttpServletResponse response) throws IOException, ServletException { ... }
요청은 나만 콘텐츠 길이와 형태가 아니라 콘텐츠 자체에 액세스 할 수 있습니다. 어떤 포인터?
저는 pl로 java를 사용하고 javax.servlet에서 빌드 된 클래스를 사용하고 있습니다.
프로그래밍 언어/프레임 워크뿐 아니라 사용중인 웹 서버 종류를 알려주는 것이 좋습니다. –