anonymous wrote : Cookie mycookie = new
Cookie(D914C93143AF95B2712C64E7637EED68.node1 , "");
| response.addCookie( mycookie );
No, that would be
Cookie mycookie = new Cookie("JSESSIONID",
"D914C93143AF95B2712C64E7637EED68.node1");
But I think that gets done automatically by the servlet API.
There is no API from Sun AFAIK to manipulate cookies, other than parsing the
HTTP Headers yourself and writing them back on the URLConnection.
If you use mod_proxy_balancer as in the wiki, sticky sessions should also work
if you specify the jsessionid in the URL, instead of a cookie, using
";jsessionid=...".
new
URL("http://locahost/report/query?;jsessionid=D914C93143AF95B2712C64E7637EED68.node1"
).connection()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955832#3955832
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955832
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user