Questions tagged [static-resource]
70 questions
0
votes
1 answer
Accessing a static resource on Heroku Spring web app via browser
.
I have three static.txts in my project, but a 404 error occurs when I access to https://magicsapp.herokuapp.com/static.txt.
src/main/resources/application.properties has this line,
static.resource.location=/META-INF/resources/
but when I…

Henry Kwon
- 101
- 1
- 3
- 12
0
votes
1 answer
Maven Jetty 7 & static resources
I would like to change our infrastructure to take benefits of Jetty and rapid application development.
Shortly I would like to serve static content. I found such an explanation at Jetty documentation.

Ozgur
- 137
- 2
- 16
0
votes
2 answers
Spring Boot upload files and serve them as static resources
Is it possible to use Spring / Spring Boot to support file uploading and serve the uploaded files as static resouces ?
I followed the official tutorial so that my app could handle file uploading, but when I tried to set the storage root directory…

Zhli
- 380
- 1
- 10
0
votes
2 answers
spring boot static resource 404 error
I am studying spring boot.
And now I have to deploy my static resources to the web project, linking it,
but it returns 404 error
Also, when I access to "localhost:8080/appie/resources/js/common.js" browser returns 404 error(my context path is…
user5685187
0
votes
0 answers
Failed to execute goal org.apache.maven.plugins:2.6:single
Try to perform mvn.cmd package command on java project and receive error and second part of error .
My pom.xml

Radislav
- 2,892
- 7
- 38
- 61
0
votes
1 answer
Spring boot: Intercepting requests for statically hosted resource files
From my Spring boot application, I am hosting files external to my application. Did so by addResourceHandler() method.
Also, I need to validate the access to these files by checking a couple of session attributes. For this I added an…

Krishanu Ghosh
- 41
- 5
0
votes
2 answers
how to understand that SpringMVC resource-chain includes resolvers that I have not set
My dispatcher.xml sets resource chain like below: