Servlets only activate when their service methods are called by the web container. Do you want to a) just poll a unix server during a request, or b) continually to build up a profile?
a) in your service (post/get) method create a socket to the server in question, send it some data, and await...
Here's an alternative.
Use a servlet/JSP to generate the page that holds the applet. As part of the JSP/servlet put the user id/password info as a parameter within the <APPLET> tags. Then simply read the parameter in your applet.
Marcin.
Light on the fizz, so you can slap him down fast.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.