07-15-04 10:17 AM
Hi, All
I have a need to call a servlet from another one withing the same session:
URL url = new URL( someURL );
URLConnection connection = url.openConnection();
connection.setDoInput( true );
connection.setRequestProperty( "Cookie", "JSESSIONID=" + request.getSession(
).getId() );
This piece of code works fine for Tomcat but on Webspere I'm getting a new s
ession.
Any help please!
Thanks a million
Nau
[ Post a follow-up to this message ]
|