0

I have an Wicket application with Tomcat and Spring. Inside the application there is an audio playback node. Audio files are stored in the file system outside of application folder. When user asks to play a file, Tomcat has a configuration to map an url and retrieve the file from folder in the file system.

I want to move this mapping to the Wicket side, but I still want to store files in file system(there are really lots of it) and i want it to have secured url(not to show my file system structure). How can I implement this mapping in the way?

1 Answer 1

1

Read this blog post then implement custom Resource class, check sources of DynamicImageResource

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.