Hi,

I'm trying to call a JSP page on tomcat 4.0.3 by submitting a PDF-form
to the server and get back a strange page,
which does not open correctly in Netscape (can't view HTML source code)
and causes IE to open some temporary file on the local file system
(C://documents...).
BTW: I'm also using Jakarta STRUTS, but I think, that's not the point of
matter.

But what I found was the "Transfer-Encoding: chunked" header and some
numbers grabled into the HTML.
Here is the request and bad response (please note the 102f and 0).
I think that is the problem.

Now:

1. May that be really the problem? What do you think?
2. How to switch of the Transfer-Encoding header and the
Transfer-Encoding?
3. Other solutions?

any help? - URGENT!

==================== HERE THE POST-REQUEST: =========================

POST /wgv-kommunal/pdf.wgv HTTP/1.1
Host: ep158:9999
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:0.9.4)
Gecko/20011128 Netscape6/6.2.1
Accept: text/xml, application/xml, application/xhtml+xml,
text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2,
text/plain;q=0.8, text/css, */*;q=0.1
Accept-Language: de-DE
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive
Cookie: JSESSIONID=A5149340E0ECCA4F241B09B799BA29C9
Referer: http://ep158:8080/wgv-kommunal/pdfs/formulare/4000-2006a.pdf
Content-Type: application/vnd.fdf
Content-Length: 1119
Referer: http://ep158:8080/wgv-kommunal/pdfs/formulare/4000-2006a.pdf

%FDF-1.2
%����
[...]


==================== NOW THE RESPONSE: =============================


HTTP/1.1 200 OK
Content-Type: text/html;charset=UTF-8
Date: Fri, 19 Apr 2002 08:02:53 GMT
Pragma: no-cache
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT

102f





<html>
[...]
</htm>
0

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to