October 21, 2024
Chicago 12, Melborne City, USA
HTML

How to use .html files not .jsp in spring project?


I created a Spring project, connected the Tomcat server, added the necessary dependencies to pom.xml, and created the configuration files web.xml and applicationContextMVC.xml
created the necessary .html file at the location webapp/WEB-INF/views/.
When the server is started, the information is displayed from the index.jsp file from the webapp package, but I need to get it from my html file.

  1. I tried to delete index.jsp
  2. Moved the necessary html file to src/main/resources/static
    nothing works



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video