This answer on stackoverflow seems like a good starting point for you...

http://stackoverflow.com/a/5317234/775715

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org

On Thu, Dec 11, 2014 at 7:45 AM, Michael Monaghan <[email protected]> wrote:

> 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

Reply via email to