#JSP file not found while hitting a particular endpoint.

6 messages · Page 1 of 1 (latest)

solid prism
#

I am working on a Spring Boot Web Application. I have created a controller which has a method that returns a JSP. I have that JSP located in /src/main/resources/templates/. But when I hit the corresponding endpoint, I get an error page instead of the JSP. I'm confused, where should I place my JSPs in the project to make them show up when I hit the respective endpoints.

I already have the tomcat-embed-jasper and jstl dependencies in my project.

snow geyserBOT
#

This post has been reserved for your question.

Hey @solid prism! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

vast shore
snow geyserBOT
#

💤 Post marked as dormant

This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.