Tomcat unable to find jsp in war file

前端 未结 1 1312
借酒劲吻你
借酒劲吻你 2021-01-20 00:58

I recently switched one of my static html files to a Spring controller that uses a JSP to render its view. I use jetty to test locally and local testing shows the page rende

相关标签:
1条回答
  • 2021-01-20 01:14

    The issue was caused by the default jsp servlet being removed from the default web.xml of the tomcat install. This had been done by a former co-worker and not to my knowledge. Replacing the test server's web.xml with the default web.xml (which included url-patterns/servlets for handling jsp files) corrected the issue.

    0 讨论(0)
提交回复
热议问题