Denis Krizanovic wrote:
> 
> simple question..
> 
> How do I get the server to think that it can send me cookies?
> 

a server will send a client a "Set-Cookie" header with a value, e.g.
Set-Cookie:
myval=SomeValue

or perhaps more useful
Set-Cookie:
jsessionid=1451234515

The server will expect the same cookies back again in each subsequent
client request. Check that the client is doing this. If writing
testcases, then you would need to add the appropriate cookies to each
request in each test case to make the server think it is part of an
ongoing conversation, rather than single unit tests.

hope that helps

> At the moment, the dumb server is encoding all my href code, and I want it
> to stop. Before I kill it.
> 
> Is there something I can set on the ServletRequestWrapper or something that
> will stop me from killing myself?
> 

now that would be a bit drastic, it is just code after all... ;)

Jari

> regards,
> dk-

--
Jari Worsley
Senior Programmer
Hyperlink Interactive Ltd

Reply via email to