Image Error when loading from an "https" site in Products Posted December 12, 2006 Hi,I got the same error. After searching on Google, it seems to me that java.net.URL (1.4.2) doesn't support HTTPS directly.So I used <imageExpression class="java.io.File"> instead of <imageExpression class="java.lang.String">by passing a file path (was a URL loaction).E.g. String applicationPath=request.getSession().getServletContext().getRealPath("/");parameters.put("logoImage", applicationPath); It works then. Regards, William
Image Error when loading from an "https" site
in Products
Posted
Hi,
I got the same error. After searching on Google, it seems to me that java.net.URL (1.4.2) doesn't support HTTPS directly.
So I used <imageExpression class="java.io.File"> instead of <imageExpression class="java.lang.String">
by passing a file path (was a URL loaction).
E.g. String applicationPath=request.getSession().getServletContext().getRealPath("/");
parameters.put("logoImage", applicationPath);
It works then.
Regards,
William