We have an example of snmp
in servlets in our free stack.
The stack (and hence the example)
doesn't support traps (yet....).
See: www.westhawk.co.uk

Anyway, the trick is to start
a background thread (in the init())
which polls for data (or listens for
traps) and then serve the most
recent result when the browser
requests it.

Since Http is a pull protocol, you
need to get the browser to request
a regular refresh  .
3 ways to do this:
        1) meta-refresh tag in the
html
        2) applet
        3)javascript.

Tim.

http://www.westpoint.ltd.uk/

Internet reconnaissance services.

___________________________________________________________________________
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

Reply via email to