Re: http header setting problem in servlet

2007-04-24 Thread Hassan Schroeder
On 4/24/07, Huseyin Sinecan <[EMAIL PROTECTED]> wrote: Thanks for the answer.. Here is the complete code of doGet method: For clarity, here's my entire adaptation of your code: --- package com.example.test; import

Re: http header setting problem in servlet

2007-04-24 Thread Huseyin Sinecan
Hello, Thanks for the answer.. Here is the complete code of doGet method: protected void doGet(HttpServletRequest theRequest, HttpServletResponse theResponse) throws ServletException, IOException { theResponse.reset(); theResponse.resetBuffer();

Re: http header setting problem in servlet

2007-04-24 Thread Hassan Schroeder
On 4/24/07, Huseyin Sinecan <[EMAIL PROTECTED]> wrote: I want to set header parameters of http response in my servlet. Are you sure you're working on the right response object? Perhaps you can post a simple but complete example that fails... I just tried the following file as a JSP: -

Re: http header setting problem in servlet

2007-04-24 Thread Martin Gainty
I assume you've seen this post on implementing httplib? http://www.ethereal.com/lists/ethereal-users/200512/msg00203.html In the meanwhile Curl implements this feature with curl_setopt http://us2.php.net/curl M-- This email message and any files transmitted with it contain confidential informati