1

I'm using spring boot and jersey and I have write the API, but now I need to serve a dinamic html page. I have add to my pom.xml this:

<dependency>
<groupId>org.glassfish.jersey.ext</groupId>
<artifactId>jersey-mvc</artifactId>
<version>2.25.1</version>
</dependency>

I have an html in

/resources/templates/file.html

and in my endpoint class return Response.ok(new Viewable("/file.html")).build(); but not work.

Marco Ferraioli
  • 152
  • 1
  • 4
  • 18

0 Answers0