Top "Spring-mvc" questions

A framework for building Java web applications based on the Model-View-Controller (MVC) pattern.

Spring MVC: How to return image in @ResponseBody?

I'm getting image data (as byte[]) from DB. How to return this image in @ResponseBody ? EDIT I did it without @…

spring-mvc
Spring 3 RequestMapping: Get path value

Is there a way to get the complete path value after the requestMapping @PathVariable values have been parsed? That is: /{…

spring spring-mvc request-mapping
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'customerService' is defined

I need help fixing this error I get when trying to deploy my web application into tomcat. Why isn't the …

java spring hibernate spring-mvc javabeans
JQuery, Spring MVC @RequestBody and JSON - making it work together

I would like to have a bidirectional JSON to Java serialization I'm using successfully the Java to JSON to JQuery …

java jquery json spring spring-mvc
Difference between spring @Controller and @RestController annotation

Difference between spring @Controller and @RestController annotation. Can @Controller annotation be used for both Web MVC and REST applications? If …

java spring spring-mvc
Autowiring fails: Not an managed Type

I have a big problem in my diploma project and would be very glad if you guys could help me! …

java spring spring-mvc spring-data-jpa hessian
Spring Boot Adding Http Request Interceptors

What is the right way to add HttpRequest interceptors in spring boot application? What I want to do is log …

java spring spring-mvc spring-boot
Spring Boot not serving static content

I can't get my Spring-boot project to serve static content. I've placed a folder named static under src/main/resources. …

spring spring-mvc spring-boot
How do you receive a url parameter with a spring controller mapping

This issue seems trivial, but I can't get it to work properly. I'm calling my Spring controller mapping with jquery …

spring-mvc