Place a servlet filter at the start/end of the chain. You'll have to modify the web.xml and add class with filter impl to class path.
Sendt fra min iPhone > Den 11. des. 2014 kl. 15.45 skrev Michael Monaghan <[email protected]>: > > Hi, > For testing purposes, I need to modify the <head> element of all the > text/html content generated by a large complicated app. > > I need to add a JavaScript include to the <head> element. > > The work required to do this in the app itself is likely not trivial. I don't > own the app, and don't fully understand the architecture etc. There's little > or no static HTML here. > > Is it possible to have Jetty modify the <head> element of the content that it > serves? > > Thanks for your time. > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
