we have a server where an application is hosted. in our current configuration, our web server (IBM HTTPD) redirects all its requests to the application server (WAS).
Now, we want to access a file under application directory through a link in an email. Such that, if we click the link we will be able to get the pop up to save/open the file from server.
we tried a simple approach to this with tomcat. we placed a file under htdocs folder and we were able to resolve its link as : http://[hostname]:[port]/[contextRoot]/[file]
but when we tried to do the same thing under IBM HTTPD htdocs, we were unable to access the file (as the requests are redirected to WAS). now, what are the approaches to access the file? can we write a servlet to redirect the incoming request to the file?
any startup guide will be really helpful. pls assist.