Hi all,
My environment:
Solaris 8
Tomcat 3.2.2
jdk1.2
I have a need to open URLs on tomcat from within my code.
I have done this successfully with JServ, no problem
To do this with Tomcat, I just changed the cookie
to JSESSIONID.
After setting the cookie and posting the post data, I
call URLConnection.getInputStream(). At this point 2 things
happen:
- The method call never returns
- Tomcat spins out of control, refusing to answer any requests
Any suggestions would be *much* appreciated, I am banging
my head against the wall right now.
I have tried to encode the session id as ";jsessionid=<sessionid>"
on the URL string to see if GET would work where POST was not -
no difference.
Thanks,
naeem