Adding jetty and template as parameter