i have such a RestController Inside, I get the URL of the image and want to embed it using Model on my page.But it gives me an error 404 or an empt ...
i have such a RestController Inside, I get the URL of the image and want to embed it using Model on my page.But it gives me an error 404 or an empt ...
In spring mvc, when we return ModelAndView / Model object, does this get serialized to be sent on HTTP? Just like it happens in REST API that the @Res ...
I'm having some problems that i don't know how to solve. I need to add an "new house" system to my real estate advertisement site. So i added a button ...
we have recently started migrating our web application from spring to spring boot 2.4.5. In spring we were able to send ModelAndView as a result from ...
selectProcess.jsp output << how to print departmentList's code and dep_name ?? there is no print at forEach Controller.java department ...
I want that when adding a data in the database, the status to be returned is 201 instead of 200. I tried to use the following code but it didn't work: ...
i'm working on a JSP that should have two dropdown box, where the second dropdown box is depending from the first one. Running the app, the first dro ...
I cant seem to find the solution for this. I have method that returns ModelAndView to view web pages. I store a webpage filename to model whenever a ...
I found what made problem for 'nullPointerException'(Request processing failed; nested exception is 'java.lang.NullPointerException') as I used object ...
I'm trying to send the data to JSP from Controller using ModelAndView. But it doesn't show.. What am I missing? Do I have to do something more? This ...
I have one controller class: and then I am trying to get in my getitems.html page as: I see that with Thymeleaf is works as th:object="auctionIt ...
I have the following spring mvc code snippet that works fine: Controller snippet: On form data printing page: <html> <h4>List of Requ ...
I am trying to download s3object from s3 bucket then write that object to a html file. S3 object is downloading but when I try to create a file and tr ...
everyone! Excuse me, I'm a beginner in Spring technologies. I'm using SpringMVC and I can't get any HTML page via my RestController methods, but objec ...
I am trying to forward/redirect the user to a new JSP file, I can go to <url>/feasibility and it updates, but when I POST postCustomer it does ...
Hi I'm new with Spring and I'm having problems in passing data between two pages using two different controllers. I would like to know how I can handl ...
In my current spring project, I have this class which should provide some modelAttributes to several views, from different controllers: Right now, ...
I am calling a view of one controller from another controller(say controller1 and controller2 respectively). And it is successfully working, but the b ...
I have this code: With response: I don't want the main User to be included in the response. I just wanted the cut down details, so I'm not send ...
I have a method in my controller say demo This will send the data to the "newPage". now my question is, can I send the same data to one more page? ...