> Can I write a servlet that transparently extract specific information
> from HTML pages before they are sent to the browser?
> By transparency I mean that nothing must be changed in html pages
> of an already running Web site?
> In addition how the already written servlets can be maintained without
> changes but doing their normal job?

     This is usually called filtering.  Jason Hunter's _Java Servlet
Programming_ book (O'Reilly) discusses it briefly (pages 31 and
176-178).  Details depend on your web server / servlet engine, but
essentially you can tell the server that certain files need to be
handled specially, running them through a servlet before sending the
results back to the user.

     (The example Hunter gives is defining a servlet to remove the
<BLINK> tag from all pages :-).

Steven J. Owens
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___________________________________________________________________________
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