You're probably getting close to my problem.
As far as I can tell, when I use the portlet, the default location for files is one place - but in my
java, the default location is someplace else.
For example:
I create a temp directory and then create a tmp file for my PDF within it:
That temporary directory is being created under "C:\apache\Jetspeed-2.2.0\webapps\MyAppName\" A typical pdf would be at:
"C:\apache\Jetspeed-2.2.0\webapps\MyAppName\temp\snap12345.pdf"
However, to access that PDF, I'd use the following relative URL:
src="../../../MyAppName/temp/snap12345.pdf"
So it seems the browser thinks the root is where the war is (guessing) and the application thinks it is where the war expanded to.