Bookmark Topic Watch Topic
  • New Topic

passing image file as string

 
muntago Richard
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Report post to moderator
I want to pass image file as string as follows


I place this under header

import java.lang.Object;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.io.File;

but is displays


Error cannot find symbol
symbol : method encodeFromFile(java.lang.String)
location : com.sun.org.apache.xerces.internal.impl.dv.util.Base64;



any help
 
Jayesh A Lalwani
Rancher
Posts: 2756
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
muntago,

Please do not post the same question in multiple forums. I am locking this thread. Please continue discussion on this thread
 
    Bookmark Topic Watch Topic
  • New Topic