I'm having two issues - 1) I cannot forward (or map) to an individual file - only to a path. I'd like to find a way to be able to forward to a specific file (html, pdf, etc.). Is this a configuration issue?
2) When I execute a forward action in struts config, I can only forward to a jsp file and have it display successfully. I can't forward to any other type of file (html, pdf, etc.) I need to be able to have the user click a link to a pdf file and have the file display in a new browser. Unfortunately, all requests to my domain go through my struts application, so I can't simply do this through apache httpd server - and the pdfs need to exist in my application's domain so they will be crawled by our search functionality and show up in search results. I'm not sure how I can accomplish clicking a link and displaying a pdf file directly given the above two constraints. I'm using struts 1.2.9 apache 2.2 and tomcat 5.5. Can someone please tell me what I'm doing wrong and point me towards a solution? Thanks, Darren