Re: How to login to a site using cookie? (not applet)
Roedy Green wrote:
http://jakarta.apache.org/commons/httpclient/
It takes care of all the details of session state.
The catch is it is about 3 MB. ...
Not necessarily. I am not familiar with the licence of
the HTTPClient, but it is technically possible to rejar
an API so that it only includes the classes immediately
required. I am betting that will be a lot less than 3 meg.
...You would not want to download that on
every Applet. ...
The OP stated (in the subject) 'not applet'.
...You would want to pre-install it in an EXT directory or
use Java Web Start so it will be cached.
..in fact, one might rejar a web start component
(as HTTPClient might be deployed) ..break it up
into one jar per package, and deploy them as 'lazy'
downloads, to let JWS do a somewhat less optimal,
but much simpler to deploy, option of the launch.
Not that I agree with helping for this end purpose,
short of the OP ever getting back to us on a few
points, but I am just saying..
--
Andrew Thompson
http://www.athompson.info/andrew/
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200707/1