A user will upload an index.html file and a few images, that will be sent out as an HTML email. I am working on preview functionality, so they can check before sending.
I am running into the "Not allowed to load local resource" error in Chrome, when trying to access the uploaded files.
I am running my application on JBoss 7.1. Currently my server is running locally on my laptop, could this be the problem?
I have tried using the JBoss temp folder, but I get the same error.
I thought of copying the files temporarily into a folder within the WAR archive, but I have not been able to find a way to do this.
Is there a workaround or solution to this? Or is there a way to display a MimeMultipart object in a window?