I am developing a STRUTS 2 based web app. I have a large number of pdf's, videos, that cannot be a part of the war file but have to be on a separate location on our websphere server. W开发者_开发问答hat is the best way to configure the location in my app?
For example , i will have my pdf's on d:/pdfs/abc.pdf and i want to open it from my jsp as links.
-- Thanks
Are you using a web server in front of WebSphere? If so, I'd hardcode the JSP links to use paths that you "alias" in your web server. So, like /pdfs/abc.pdf
where /pdfs
is a web server alias to d:/pdfs
.
精彩评论