Questions tagged [static-resource]
70 questions
2
votes
4 answers
Thymeleaf + Spring-Boot - why can't I access static resources?
My project tree looks like this:
I can access the templates now, but can't load static resources such as CSS, images, and JS.
I have a common.html fragment where I declare all my static resources, for instance:

gtludwig
- 5,411
- 10
- 64
- 90
2
votes
1 answer
Request method GET not supported error when serving static resources
static resources not loaded at all and when it loaded this error appear i don't where the problem
this is my code
web.xml

Mohammad IzzAldin
- 21
- 1
2
votes
1 answer
Spring Boot MVC request mapping overrides static resources
I want to have rest controller in Spring Boot to handle all requests like this: "/{arg}", EXCEPT "/sitemap.xml". How can I achieve that?

gs_vlad
- 1,409
- 4
- 15
- 29
2
votes
2 answers
XAML - StaticResources in Collection Initializers
I want to add a single model object that has been instantiated once in XAML, and add it to two different collections (in xaml).
The following code renders fine in Blend's Design Time, but I get the following errors at run time:
For "Post1"
Object of…

viggity
- 15,039
- 7
- 88
- 96
2
votes
1 answer
Visualforce: Can't access archived static resource
I'm trying to access some static resource in my visualforce page. I have uploaded a zip file named pqGrid. It's structure is like so:
- pqgrid.min.js
- pggrid.min.css
- images/
--image1.png
--image2.png
Following the directions in the sf…

ZAR
- 2,550
- 4
- 36
- 66
2
votes
1 answer
How can I config static resource in Spring 4 security using Java Configuration
I thought this is easy in xml configuration, but when I am now using java code configuration, I was lost, so can anyone tell me how I can config spring security to allow non-security check for static resource directory?
@Override
protected void…

user3006967
- 3,291
- 10
- 47
- 72
2
votes
2 answers
Where should common static resources (images, js, css, etc) go in DotNetNuke?
Is there a recommended location to store static resources (images, css, js, etc) in a DotNetNuke 5.x installation?
There are /images and /js folders as well as a /Resources folder that contains resources. There appears to be some overlap as…

Joosh21
- 133
- 3
- 14
2
votes
2 answers
visualforce background image not displaying
I am trying to implement a simple VF tabbed interface. I have uploaded a zip file containing a background image inside "images" folder and the required css as