Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file does not begin with ' pdf-' in java

 
ersatish kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using Spring restful webservice and from there I am getting json object.
In Json Object I have byte array which i got after reading a pdf.
That Byte array I am trying to get in jsp page using ajax call.
Using ajax call i am able to retrieve byte array. But this byte array is coming as string which I am converting in action class and try to display pdf.
But error msg is coming as:
file does not begin with ' pdf-' in java

Do you have any idea why pdf is not displaying?
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have not provided any code but it does not sound like a Spring problem. See this link.

http://forums.adobe.com/message/5280469

There are many other if you google that error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic