precompile jsps into classes for Jetty8 using ant

后端 未结 3 1209
情话喂你
情话喂你 2021-01-03 16:03

We are using jspc ant task to pre-compile JSP files into classes/(then package into war)

Now we are switching to Jetty 8. According to the doc, there exists a maven

3条回答
  •  日久生厌
    2021-01-03 16:21

    From your first sentence you are apparently already using an ant task to pre-compile the jsp files...so using jetty-8 doesn't mean you have to change that process at all, you will still just pre-compile as you have been, building your war file as you have been and then just deploy into jetty-8. You will need to add jsp to the OPTIONS in the start.ini to get the jsp engine into the server classloader.

提交回复
热议问题