I'm sure this is easy, but I don't work with website development very often and I'm lost on this one.
I have a web application that needs to support multiple clients with different settings, icons and other content. The contents of these files are in separate directories for each client.
What I would like to do is respond to a request sent to a jsp/java servlet. The servlet will look up the proper folder location in a database (I have the database stuff working) and send the actual object to the requesting page whether it is xml, graphic or video.
How do I do that? What methods should I be using. Help I'm lost! :(