Hi, I have the following piece of code implemented within a servlet:
I get a 503 error from TomCat when requesting the servlet. When I remove one of the two (cookie of header addition) it works fine. It doesn't matter whether I add the cookie first, or the header. What's wrong here? Thanks
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted
0
i looked into this when i first saw this problem. Have you tried swapping round the code so that you add all headers before adding the cookie?
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.