spring-boot-web-jsp-example | Security library
kandi X-RAY | spring-boot-web-jsp-example Summary
kandi X-RAY | spring-boot-web-jsp-example Summary
Sample Spring Boot Web Application with JSP.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Entry point for the application
spring-boot-web-jsp-example Key Features
spring-boot-web-jsp-example Examples and Code Snippets
Community Discussions
Trending Discussions on spring-boot-web-jsp-example
QUESTION
I had a Spring MVC project that I'm converting to spring boot. This project of mine cannot be given spring-boot-starter-parent
as parent because I need to keep a custom parent.
I solved this first issue by injecting spring-boot-dependencies
in dependencyManagement.
I also need my project to embed a tomcat, so I've used spring-boot-starter-web
. I need to use JSP so i've added the dependencies to jstl
and jasper
.
ANSWER
Answered 2019-Apr-30 at 16:06Eventually I have incurred in this stackoverflow post listing all that is necessary to make a spring boot application using jsp, embedded tomcat and custom parent project work.
So, my pom.xml is now much readable and compact and looks much like the examples in the link.
QUESTION
I'm trying to run my Spring Boot project with Intellij IDEA.
This project is of type Spring MVC, meaning that it has JSP files in path main/webapp/WEB-INF/jsp
.
My application.properties
has these settings:
ANSWER
Answered 2017-Jun-28 at 07:09This is a problem with IntelliJ and Spring boot. You should check the following things:
Web facetMake sure that you have the Web facet enabled. The sample project does not have a web.xml
file, and due to that, IntelliJ doesn't pick up src/main/webapp
. You can add a dummy web.xml
file to src/main/webapp/WEB-INF
and reimport the project, or you can manually add the web facet and configure it properly. If the web facet is configured correctly, you should see a blue circle in the webapp folder.
An example of a dummy web.xml
file:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spring-boot-web-jsp-example
You can use spring-boot-web-jsp-example like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the spring-boot-web-jsp-example component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page