-
Jan 29th, 2013, 05:30 AM
#1
Test if css stylesheet exists in Controller
Dear Spring people
I'm new to the forum, so if my question is in the wrong topic you can always replace it to somewhere else.
My question is the following.
I want to show my users who are logged in a specific stylesheet depending on a setting of the user. If the stylesheet does not exists, I want to show a default stylesheet.
I tried a lot of things but I can't seem to figure out how I can check this kind of information. Should I use a ResourceLoader or something in my controller?
I use thymeleaf to render my content.
Thanks in advance!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules