All Questions
Tagged with java spring-mvc
32,534
questions
-3
votes
0
answers
30
views
Java Template engine that externalizes "Common" JSP file (not HTML) is not available. It is needed as it helps developer to ease the development [closed]
can someone suggest best java Template engine that externalizes "Common.jsp" JSP file (not HTML).
This common JSP file should have header.jsp, footer.jsp, LeftMenu.jsp and should have a ...
0
votes
0
answers
12
views
Spring-web / Jakarta-servlet: detect input-change in 'when' function
In my .jsp-file, I have a text-field and a button. Both elements are part of a table. The table is filled through a forEach loop, which iterates over a List<WordDto> from the java-controller. ...
0
votes
0
answers
13
views
Stop redirecting to another page in spring mvc post
I have a Spring MVC controller like this (with Spring 5.X version in case needed) for displaying and processing a form as shown below:
@Controller
@RequestMapping("/map")
public class ...
0
votes
0
answers
23
views
415 error "Unsupported Media Type" in Spring framework on a PostMapping
I have a class of a controller with a PostMapping that recieves a object in the body to save it in bd.
When i pass the body, the backend returns me this response:
{
"status": 415,
"...
0
votes
0
answers
20
views
index.html not found spring MVC Rest Angular Deploy in War to Tomcat
Links i've tried:
Integration of Angular 5 with Spring MVC
404 Page while running Spring and angular in same port
No mapping for GET / in SpringMVC
https://www.programming-free.com/2014/01/spring-mvc-...
-3
votes
0
answers
47
views
Not able to get multiple tables with different data properly [closed]
I want to populate a Jasper Report with multiple tables for given range of employees to show their details fetched from a SP and populated in my table in each page.
But whenever multiple employees ...
0
votes
0
answers
17
views
Is there a way for passing multipart config to auto configured JSP Servlet on jboss eap8 with undertow, spring-web-6.1.9?
The problem
I am migrating from eap7 to 8 (also from javax to jakarta), and have a request with MultipartFile. My app is using jsp. File gets to the server, in controller it is processed (not written) ...
-1
votes
0
answers
26
views
in spring boot, how to start the webserver (jetty) after application start
In my spring boot 3 application I noticed that in the middle of the server startup, the jetty webserver is started.
I would like to start the webserver after the spring boot server is finished ...
0
votes
0
answers
23
views
Spring Gateway with authenticator not forwarding requests
I am quite new to using Spring Gateway and I am setting it up with Spring Gateway MVC as I did my authentication in MVC. I have added the dependencies to my pom, I have an API running in port 8090. I ...
0
votes
1
answer
28
views
When i am. trying to run spring intializr using ./mvnw spring-boot:run. it showing the error
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.2:run (default-cli) on project initializr: Unable to find a suitable main class, please add a 'mainClass' property -...
0
votes
0
answers
23
views
How to apply ant_path_matcher on Spring Cloud Gateway MVC?
I'm migrating from zuul gateway to Spring Cloud Gateway MVC.
But I knew that no more patterns like "/foo/**/bar/**" is allowed since ant_path_mathcer is deprecated.
And I want to keep ...
-1
votes
0
answers
19
views
Error on the web page when launching the application on Spring MVC in Eclipse
Error on the web page when launching the application on Spring MVC in Eclipse: The origin server did not find a current representation for the target resource or is not willing to disclose that one ...
0
votes
1
answer
11
views
@InitBinder setDisallowedFields not working
In a Spring rest controller (using Spring Boot 3.3.1), I have a POST mapping method that populates a DTO like this :
@RestController
public class SomeController {
@InitBinder("NoId")
...
0
votes
0
answers
23
views
Spring Security error Like Stopping service [Tomcat] and Error creating bean with name 'springSecurity'
I have created new project and when I am created the new spring security class I am getting the error and also added the spring security dependency please go through the code and I think this info is ...
0
votes
0
answers
42
views
Spring Security Web NoSuchMethodError exception [closed]
I use Spring Security Web in my project. when I update it from version 6.2.1 to 6.2.2 it causes the error on runtime:
java.lang.NoSuchMethodError: 'boolean org.springframework.security.authentication....