From: gian on
I try ...but don't work
I receive a null pointer exception
....probably I have to understand better ..the headers and the cookies
in the http protocol ;-(



From: Arne Vajhøj on
On 01-08-2010 10:30, gian wrote:
> I try ...but don't work
> I receive a null pointer exception
> ...probably I have to understand better ..the headers and the cookies
> in the http protocol ;-(

No. I think you need to show some code and copy the exact exception
text etc. to make it possible for us to help you.

Arne
From: Arne Vajhøj on
On 01-08-2010 09:47, gian wrote:
> On 1 Ago, 15:17, Lew<no...(a)lewscanon.com> wrote:
>> gian wrote:
>>>> yes i know but i cant use http client for version problem.httpclient
>>>> want java [sic] 5 and i have to use java [sic] 1.4
>>
>> Just out of curiosity, why are you stuck on an obsolete version? What is the
>> client's reasoning?
>
> websphere AS

5.1 or 6.0 ...

Arne
From: Tom Anderson on
On Sat, 31 Jul 2010, gian wrote:

> On 1 Ago, 00:15, Tom Anderson <t...(a)urchin.earth.li> wrote:
>> On Sat, 31 Jul 2010, gian wrote:
>>> I am developing an application that includes a servlet.This servlet make
>>> a redirect to another application (a site that I know credentials..
>>> username and password.) What I have to do?
>>
>> It might be easiest to send a normal 200 response, containing some
>> simple HTML with a form to log into the second application, and a
>> javascript onload handler that submits the form. Essentially, simulate
>> a normal login from the browser.
>
> Sound fine..(but i dont understand the 200 response..)

200 is the HTTP status code for a normal, successful response. I just mean
you don't send a redirect.

> you say (if i understand well)your idea is servlet generate the html and
> the javascript..

That's what i'm saying. It's not a clean or elegant solution, but it's
possible that there are no clean or elegant solutions to your problem.

tom

--
Tech - No Babble