-
Jan 2nd, 2013, 07:20 AM
#1
Viewing images not within webapp
Hi,
I am very new to Spring. I am starting a web MVC project to display video shots as thumbnails.
These are all stored within a repository, not within the webapp domain, eg on the filesystem /repo/thumbnails/.....
I would like a user to be able to stipulate where the repo path is, via a form, and then use that path to retrieve the images.
I have tried using the <mvc:resources> tag in the config, but I still am unable to get to any external file.
Do I need to setup the classpath to include this directory. If so how do I enable this to be programatically changed?
There must be an easy way to do this, I just can't get it to work.
Can someone please give me a simple example please.
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