T
Todd
Is it possible to use a filter to change a JSP's HTML code?
As an example, suppose I wanted a way to ensure that ALL input elements
had the attribute "autocomplete='false'" in them. Could I create a
filter that runs after the servlet, that could grab the outgoing HTML
and insert the autocomplete attribute in it?
I guess the main question is this: at what point of a servlet's
lifecycle is the resultant HTML available? And, what object, if any,
gives me access to that HTML?
Thanks,
Todd
As an example, suppose I wanted a way to ensure that ALL input elements
had the attribute "autocomplete='false'" in them. Could I create a
filter that runs after the servlet, that could grab the outgoing HTML
and insert the autocomplete attribute in it?
I guess the main question is this: at what point of a servlet's
lifecycle is the resultant HTML available? And, what object, if any,
gives me access to that HTML?
Thanks,
Todd