Skip to content

Tag: spring-mvc

Download file with original file name

In my project I am uploading a file. While uploading, I am saving its original file name and extension in a database and saving that file with some GUID on server, generated GUID is also stored in …

Spring DeferredResult setResult causing 404

I am using the new spring 3.2 async servlet requests. All works well except in this one scenario… When someTest() is true spring/tomcat returns a 404. I am not sure how I should go about this or why this happens? I assume it might be because the Servlet Async Context has already been created. Is this a bug or am

Error in Java Import statement “The import javax.validation.constraints.NotNull cannot be resolved”

Iam new to Java and Spring Framework. After developing Spring roo project, I found following errors in class : Iam using STS 3.1.0.RELEASE Can some one guide me what Iam doing and how it can be rectified. Thanks in advance Answer The jar containing this class must be added to the build path of your project:

Alternatives to JSP for Spring MVC view layer [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 6 months ago. The community reviewed whether to reopen this question 6 months ago and left it