Http Connection in Servlet-Swing Application
Mukesh Agrawal <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <000a01c47e92$1472cf50$0dc801c0@Agrawal> |
Hello Everybody,
I am developing an application using Swing at client end and Servlet at
Server side. For communication between client and server I am using
HttpURLConnection instead of sockets. As the client end is in Swing so
no browser is required.
The problem I am facing is in how to maintain session
without using Cookies and without appending session id directly in
HttpURL String as no browser is used. For communication I am passing
request and accepting response in XML Format.
Also I want to know do I have to create connection every
time for one request - reply OR I can have several request-response in
one connection. If so then how could I keep track of the connection
(that which connection belongs to which client).
Hoping a positive reply from your side.
Mukesh Agrawal
Argusoft India Limited
Gandhinagar, INDIA
___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html