Hello Mansoor, > the problem is i need user session (having information which i keep in the > Session at the time of login) for file uploading which i don't get when i > post data through applet using HttpClient.
There's the problem: Applet. When you use HttpURLConnection, the Java Plugin will pick up the cookies from the browser and send them along with the request. HttpClient cannot do that, and so your request is most likely missing the browser session cookie. > During search i found the HttpState class ... but i don't understand how it > will work in my case. Here's a starting point for your searching the mailing list archives: http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200608.mbox/[EMAIL PROTECTED] That user already found a way to pass the cookie from the browser/HTML page to the applet. Maybe the "how" is mentioned in a previous discussion on the list. This one also has a hint: http://forum.springframework.org/showthread.php?t=14931 Good search terms for your problem should be "applet" and "session cookie". hope that helps, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
