Skip to main content

All Questions

Tagged with
0 votes
1 answer
34 views

java.lang.ClassNotFoundException: javax.servlet.jsp.tagext.BodyTagSupport

I have the following code in a JSP file for the tags which is included in all of my JSP files at the top: <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> &...
Tan's user avatar
  • 1,537
0 votes
0 answers
46 views

Controller unable to pass model values to View page [duplicate]

My viewEmployees method in Controller @Autowired private EmployeeDao employeeDao; @GetMapping("/employees") public String viewEmployees(Model model) { ...
Yogesh Pandey's user avatar
-1 votes
1 answer
55 views

Spring MVC with Tomcat renders only index.jsp

The problem is that when i run my app with Tomcat it shows only index.jsp in browser. But controllers don't work. Here's my web.xml file: <?xml version="1.0" encoding="UTF-8"?&...
prok05's user avatar
  • 37
1 vote
1 answer
29 views

Neither BindingResult nor plain target object for bean name 'todooo' available as request attribute

While running the insert without validation it works, but when I added validation like targetdate must be future date and trying to show in form twoway binding, then this error started. No idea on ...
Sumitツ's user avatar
1 vote
1 answer
48 views

Why ${message} appear as it is in View and not the real message passed in Spring MVC controller [duplicate]

I'm trying to learn Spring MVC and encountered an issue. Please see the attached code. I'm not getting the real message on View and instead ${message} on View. What could be the issue here? This is ...
Deepthi's user avatar
  • 897
0 votes
1 answer
47 views

How to connect css and javascript in a .jsp file

I am having trouble connecting an external css and javascript file to its jsp. I tried doing the WebConfig as I read on google but I realised that my jsp files' path are done via application....
vaulted xx's user avatar
0 votes
0 answers
354 views

Whitelabel Error Page This application has no explicit mapping for /error. While Making a GET Request using Spring MVC

I am attempting to construct a simple web page and making a GET Request using Spring MVC, and I have encountered this issue. Whitelabel Error Page This application has no explicit mapping for /error,...
Gangadhar s's user avatar
0 votes
0 answers
77 views

Dropdown value not persisting after saving in Spring MVC

Question: I am working on a Spring MVC application where I have encountered an issue with dropdown values not persisting after saving a form. Below is a simplified version of the code along with some ...
nutan's user avatar
  • 9
0 votes
0 answers
34 views

Why my javascript doesn't load into Spring Boot [duplicate]

I am currently working on a Java Spring boot project, everything is worked but excepted the JavaScript code. Here is the JS code: function handleFormSubmission(event) { event.preventDefault(); ...
Lmao's user avatar
  • 1
0 votes
2 answers
130 views

Why the <form:hidden> value is set as empty?

On my default page, I have a hidden fields to set custody details. I've checked the HTML source and the values are coming as empty. I tried to check if the controller itself is sending null data. But,...
SnailK's user avatar
  • 11
1 vote
2 answers
1k views

Swagger and Spring MVC (non-spring-boot)

I've been trying to add Springfox-Swagger UI 3.0.0 into a regular Spring MVC application with Spring Security (non-spring-boot) and cannot figure it out. I recently incorporated swagger-ui into 2 ...
Stratos's user avatar
  • 21
0 votes
1 answer
51 views

Form submission is not accepting parameters

I have a form that contains a file input field and 2 buttons with name="action" and values as 'sign' and 'verify' respectively. I am trying to get that file and parameter of buttons upon ...
Ashok kumar's user avatar
-1 votes
1 answer
69 views

Spring mvc redirect from one controller to another works but another controller don't open page

The problem is following. I have one controller-class with post-method that redirect to another controller-class with get-method. In debugging mode i step into post-method then it redirect to get-...
shurikin's user avatar
-1 votes
1 answer
412 views

JSP is not rendering on Spring Boot version 2.7.15

I have a Spring Boot application running on Java 17 with packaging type war, but it does not render the jsp pages. Here is my pom.xml file regarding spring dependencies: <dependency> ...
Lia's user avatar
  • 27
0 votes
1 answer
549 views

Spring boot / Jsp exception - java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.views.homePage_jsp

I have a SpringBoot, JSP and Maven application running on app server. I restarted the server and application stopped working. On browser it's showing 404 error. Server logs showing this exception - *...
Zulu's user avatar
  • 160

15 30 50 per page
1
2 3 4 5
313