This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Yes it is Jboss Messaging as Jaikiran said but do you think this will have an effect on this Unicode issue ?
Joined: Aug 21, 2008
Finally I was able to find a solution, BUT the solution is still a blackbox. If anyone have the answer to WHY it has failed/successful please update the thread. Till it is solved I will let the thread open.
Solution at a glance :
1. Captured the file contents as a byte arry and wrote it to a xml file in jboss tmp folder using FileOutputStream 2. When posting to the jboss Message queue, I used the explicitly wrote xml file (1st step) using a FileInputStream as a byte array and pass it as the Message body.
View: JSP page with a FormFile
Controller Class :UploadAction.java
Foot Note: I think it is something to do with the Linux/Windows default file saving type. eg: Windows default : ANSI.