I have happily used Java Spark Framework (& j2html) as part of a standard Java application to provide a browser based UI, this has worked very well.
I would now like to build my website using the same technology instead of using Servlet/Jsps as I am currently. But the difference is that the website runs on AWS within a Tomcat container and Im not sure if Java Spark can be used to create a web archive (.war) file so I can continue to deploy it in the same way.