Reading pages with associated images from URL

Hello,
I want to read a file through URL from my jsp.I am successful to do so.But the problem is I am not getting "Imgaes"(which are given relative path in the Page which is pointed by the URL).Do anybody have any idea how to get those images..
Thanks.

Here is the code for the Reading File
<%!
public void showPage(JspWriter out,HttpServletRequest request){
     try{
          URL url = new URL("http://www.clubi.ie/webserch/engines/lycos/display.htm");
          String o1 = url.getAuthority();
          System.out.println("Object got from getAuthority() = " + o1);
          System.out.println("URL object = " + url);
          URLConnection urlCon = url.openConnection();
          System.out.println("URLConnection object = " + urlCon);
          urlCon.connect();
          DataInputStream data = null;
          String line;
          StringBuffer buf = new StringBuffer();
          try {
          data = new DataInputStream(new BufferedInputStream(
                              urlCon.getInputStream()));
          while ((line = data.readLine()) != null) {
               //System.out.println(line);     
               buf.append(line + "\n");
          out.println(buf.toString());
          data.close();
          catch (IOException e) {
          System.out.println("IO Error:" + e.getMessage());
     }catch(Exception e){
          System.out.println("Exception:"+e.toString());
}//end method
          %>

Similar Messages

  • Issues with Loading Images from a Jar File

    This code snippet basically loops through a jar of gifs and loads them into a hashmap to be used later. The images all load into the HashMap just fine, I tested and made sure their widths and heights were changing as well as the buffer size from gif to gif. The problem comes in when some of the images are loaded to be painted they are incomplete it looks as though part of the image came through but not all of it, while other images look just fine. The old way in which we loaded the graphics didn't involve getting them from a jar file. My question is, is this a common problem with loading images from a jar from an applet? For a while I had tried to approach the problem by getting the URL of the image in a jar and passing that into the toolkit and creating the image that way, I was unsuccessful in getting that to work.
    //app is the Japplet
    MediaTracker tracker = new MediaTracker(app);
    //jf represents the jar file obj, enum for looping through jar entries
    Enumeration e = jf.entries();
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    //buffer for reading image stream
    byte buffer [];
    while(e.hasMoreElements())
    fileName = e.nextElement().toString();
    InputStream inputstream = jf.getInputStream(jf.getEntry(fileName));
    buffer = new byte[inputstream.available()];
    inputstream.read(buffer);
    currentIm = toolkit.createImage(buffer);
    tracker.addImage(currentIm, 0);
    tracker.waitForAll();
    images.put(fileName.substring(0, fileName.indexOf(".")), currentIm);
    } //while
    }//try
    catch(Exception e)
    e.printStackTrace();
    }

    compressed files are not the problem. It is just the problem of the read not returning all the bytes. Here is a working implementation:
    InputStream is = jar.getInputStream(entry);
    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
    try{
    byte[] buf = new byte[1024];
    int read;
    while((read = is.read(buf)) > 0) {
    os.write(buf, 0, read);
    catch(Exception e){
         e.printStackTrace();
         return null;
    image = Toolkit.getDefaultToolkit().createImage(os.toByteArray());
    This works but I think you end up opening the jar a second time and downloading it from the server again. Another way of getting the images is using the class loader:
    InputStream is = MyApplet.class.getResourceAsStream(strImageName);
    In this case, the image file needs to be at the same level than MyApplet.class but you don't get the benefit of enumerating of the images available in the jar.

  • Search Results web part - Custom Query using "Value with a parameter from URL" inconsistent

    I have encountered what I think may be a bug, but I am hoping that there is something that I am missing.
    Within my search site, I have created a new search results page where I want to customize the "Search Results" web part query.  I can add in any number of property and keyword filters (using the "Build Your Query" dialog) without
    issue... until I add a filter that uses the QueryString property (the builder dialog calls this "Value with a parameter from URL").
    If I use {QueryString.MyParameterX} for filtering, it works beautifully in the query builder dialog.  I see the expected results in the search results preview pane, but as soon as I apply the changes things become inconsistent. 
    If I close/reopen my browser and navigate to my page at http://myaddress/search/Pages/testresults.aspx?MyParameterX=test I see results.  If I then refresh the page, I get a "Nothing here matches your search" message.  I can then go to
    the same address but change one character to an uppercase character and get results.  Refreshing that same page again returns "Nothing here matches your search".  I can only get search results one time per uniquely cased URL without having
    to close/reopen my browser.  This behavior was seen on both Firefox and IE.
    Finally, I found that if I instead navigate to http://myaddress/search/testresults?MyParameterX=test, it always returns results.  This, unfortunately isn't the best solution for me... but it is a solution.
    Any insight that anyone can provide is greatly appreciated!  I would really like to be able to depend on this working in all logical cases (especially since the search center of other sites is set using the path all the way down to /Pages).
    Thanks!

    Hi, have you been able to solve this issue? I'm getting the same issue and I cant solve it (required CU is installed).
    Fabio

  • Trouble with opening images from dreamweaver cs6(64bit) to photoshop cs6(64bit).

    Hi guys i need help! I have trouble with opening images from dreamweaver cs6(64bit) to photoshop cs6(64bit). I uninstalled and went to preferences/file types editors to set up ps6 as primary but I still get some error.After i click image in dreamweaver,I get this message-Unable to launch...Please be sure that application exists and that there is enough memory to run it..

    Can you Launch Photoshop normally from your desktop shortcuts?
    I usually keep DW and PS open at all times so I can switch back & forth.
    Nancy O.

  • Load picture control with png image from the web

    Hi guys,
    Is there an example anywhere for Labview 8.6 for loading a picture control with png image from the web?

    Hi lavalava,
    here you find a note on how to load pictures from the internet. After grabbing the data you could save them to a file, load the file with the picture file functions and then convert it into the image datatype to feed a picture indicator with the data...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Download Images from URL

    I want to save images to memory 50 images
    My software processing ----
    1. Download Image from URL every 60 secs and all downloaded images have time to use 15 mins
    2. When download image done save images to memory
    3. Then show images in picturebox
    4. When user click button get next image form memory and delete old image from memory
    5. If what images not use in 15 mins auto delete from memory
    Help me ... Thank you a lot 

    Ok chechk the below method/Events that will download 50 image and fill a List<image> object into memory, you need to add a picturebox1 and button1 to your form, I used my profile pic here on msdn the link you've send didn't work:
    //Global Variables
    List<Image> li = new List<Image>();
    int second = 0; //Form Initaile
    public Captcha()
    InitializeComponent();
    //Async download event
    private void ReadCallback(IAsyncResult asynchronousResult)
    HttpWebRequest request = (HttpWebRequest)asynchronousResult.AsyncState;
    HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asynchronousResult);
    using (StreamReader streamReader1 = new StreamReader(response.GetResponseStream()))
    li.Add(Image.FromStream(streamReader1.BaseStream));
    pictureBox1.Image = li[0];
    //Download Method for 50 images
    private void DownLoadImages()
    try
    for (int i = 0; i <= 50; i++)
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://i1.social.s-msft.com/profile/u/avatar.jpg?displayname=fouad%20roumieh&size=extralarge&version=00000000-0000-0000-0000-000000000000"));
    request.BeginGetResponse(new AsyncCallback(ReadCallback), request);
    catch (WebException ex)
    //Form Load
    private void Captcha_Load(object sender, EventArgs e)
    DownLoadImages();
    And here on button click event we remove element and show the next one into picture box, and if used up all image we call the async download messages again to get a new list of images:
    private void button1_Click(object sender, EventArgs e)
    li.RemoveAt(0);
    if (li.Count > 0)
    { //Show next
    pictureBox1.Image = li[0];
    else
    DownLoadImages();
    Also here a timer event I didn't enable but you can enable to check for the 15 mins and destroy the images list if passed:
    private void timer1_Tick(object sender, EventArgs e)
    second = second + 1;
    int minutes = second / 60;
    if (minutes >= 15)
    li.Clear();
    //Call downloadimages or else...
    Fouad Roumieh

  • Get Images from URL's with slight difference?

    Does anyone know how I can download an image referenced in a web page? Get Image URLS from webpage doesn't work, because it is referenced in an unusual way:
    <input type="image" name="theImage" src="http://www.mysite.co.uk.uk/myservlets/myServlet?reqtype=IMG&refresh=184949485733" align="bottom" border="0" WIDTH="400" HEIGHT="400">
    Prior to fetching the image urls, I download the web page from a link, it downloads as html, is there a way to download it as a web archive which might bring the image down as well?
    Rob

    If you're using Firefox, here's something else to try...
    While the web page containing images is open, click on *Tools > Page Info* (or press ⌘I). Click the Media tab and look for a list of image urls in the upper portion of the window. Select any or all of the image urls. Once highlighted, press the *Save As* button in the lower right side of the *Page Info* window. Choose a destination folder and press Open. Image files should be downloaded to the chosen folder.
    Unfortunately, however, during testing (in Firefox 3.6.13), I found that while this method worked fine with some sites, it didn't work so well with others -- Google Images, e.g., would not allow images to be saved. If you encounter similar trouble, you might try setting up and using the workflow below.
    First, create a dedicated download folder, with a name such as "*Firefox Images*." This is important because the workflow's actions will eventually filter out all but the image files in the selected folder -- and its subfolders -- and send any non-image files to the trash. Naturally you'd want to be certain your workflow is acting upon the correct folder, or risk losing essential files elsewhere.
    +Use these actions:+
    1) *Get Selected Finder Items*
    2) *Get Folder Contents* -- check "Repeat for each subfolder found"
    3) *Filter Finder Items* -- filter out non-images:
    Whose: File Type - *Is not* - TIFF Image File -- click the "+" button and add to the list:
    Whose: File Type - *Is not* - JPEG Image File -- click "+" and continue adding:
    Whose: File Type - *Is not* - JPEG 2000 Image File
    Whose: File Type - *Is not* - PICT Image File
    Whose: File Type - *Is not* - GIF Image File
    Whose: File Type - *Is not* - PNG Image File
    Whose: File Type - *Is not* - BMP Image File
    4) *Move to Trash*
    5) *Get Selected Finder Items*
    6) *Get Folder Contents* -- leave "Repeat for each subfolder found" unchecked
    7) *Filter Finder Items* -- remove the accompanying HTML file from the downloaded items:
    Whose: File Type - Is - HTML File
    8) *Move to Trash*
    From Automator's File menu choose *Save As > File Format: Application*. The saved applet will be used as a droplet.
    Firefox web pages to be processed should be saved directly to the newly created "*Firefox Images*" folder. Choose *Save As: Web Page, complete*. Saved web pages can be acted upon individually, or you can fill the Firefox Images folder with multiple saved pages before running the workflow. (How many would be too many to act upon before the workflow fails, however, is unknown; I tested the workflow on only a half dozen or so saved pages at a time).
    To run the workflow, simply drag and drop the Firefox Images folder onto the saved Automator applet's file icon and allow the workflow to complete.
    Good luck, hope this helps.

  • Download image from URL with applescript

    I want to download an image from an website (and internal IP address) using applescript,
    now I have found a script that works (Download jpeg image to folder with AppleScript from URL).
    But, the web page requires a username and password...
    When I convert the downloaded JPEG into a HTML by simply changing the extension, quick look displays the webpage's 401 unauthorized error page...
    Does someone know how to make the applescript input the username and password?

    The answer depends on how the authentication is managed.
    There are two common ways of implementing authentication in web browsers and knowing which one is used here is essential to scripting the request. One is also significantly harder than the other.
    The first (easy) way is that the username and password can be submitted with the request. This is the original model and is easy to script - if you're using the curl model then it's just a matter of adding the -user switch to the command line:
           -u, --user <user:password>
                  Specify the user name and password to use for server authentica-
                  tion. Overrides -n, --netrc and --netrc-optional.
    This model is a little less secure, though, but might still be used on internal sites since it's easy to implement.
    The other option is that the site uses cookies - you log in via a web form and the server gives your cookie which you then send with subsequent requests and are used to validate your access. This is a more secure, but is harder to implement because there is a multi-step process - login via the web form, capture the cookie, submit the cookie with the download request.
    If you're not familiar with the different methods it can sometimes be hard to tell which one you need, and since it's an internal site there's no way anyone else can check... so you'll need to describe how you login to the site (or are prompted for authentication) before anyone can provide a direct answer.

  • Reading images from URL without knowing the format

    I have an image url like this: http://example.com/image.php?id=5605. How do I get the actual image from such an URL? I have tried using ImageIO.read and loading the url directly into an ImageIcon without success.

    yeah,
    I knew a little about linearization and but the idea was to help quick loading the very first page of a document while the rest of the data still is arriving. Not exactly what I needed here.
    Anyway, you have just confirmed my fears, I will have to know the document size, where exactly it ends on my stream, in order to correctly load it.
    I appreciate your help sir. Thanks for your time.
    Best regards.

  • Adding a layer with image from URL

    I am trying to write a script that adds a layer to a document, and loads an image from a url such as "http://fantasy411.mlblogs.com/ron-burgundy.jpg" .
    How can I go about doing this? Thanks in advance.

    If you have a newer version of Photoshop that supports sockets you can do something like this.
    // openImageFromWeb.jsx
    // Copyright 2006-2009
    // Written by Jeffrey Tranberry
    // Photoshop for Geeks Version 3.0
    // modified by MLH
    Description:
    This sample script shows how to download images from a web server using the
    Socket object.
    // Note: Socket.read() parameter & behavior
    // Socket.read() will read or time out. It may not read all data fromserver.
    // Socket.read(999999) will read 999999 bytes, or timeout, or socket will be
    // closed by the server.
    // enable double clicking from the
    // Macintosh Finder or the Windows Explorer
    #target photoshop
    // Make Photoshop the frontmost application
    app.bringToFront();
    // SETUP
    var socket = new Socket;
    var html = "";
    var domain = "www.adobe.com" // the domain for the file we want
    var sImg = "/ubi/globalnav/include/adobe-lq.png"; // the rest of the url for the file we want
    var port = ":80"; // the port for the file we want
    // MAIN
    var f = File("~/socket_sample_" + sImg.substr(sImg.length-4)); // 4 = .gif or .jpg
    f.encoding = "binary"; // set binary mode
    f.open("w");
    if (socket.open(domain + port, "binary")){
            // alert("GET " + sImg +" HTTP/1.0\n\n");
            socket.write("GET " + sImg +" HTTP/1.0\n\n"); // get the file
            var binary = socket.read(9999999);
            binary = removeHeaders(binary);
            f.write(binary);
            socket.close();
    f.close();
    if(app.documents.length == 0) app.documents.add(new UnitValue(200,'px'), new UnitValue(200,'px'), 72, 'Untitled 1');
    placeSmartObject( f );
    f.remove(); // Remove temporary downloaded files
    // FUNCTIONS
    function placeSmartObject(fileRef){
    //create a new smart object  layer using a file
         try {
              var desc = new ActionDescriptor();
                   desc.putPath( charIDToTypeID( "null" ), new File( fileRef ) );
                  desc.putEnumerated( charIDToTypeID( "FTcs" ), charIDToTypeID( "QCSt" ),charIDToTypeID( "Qcsa" ));
                  desc.putUnitDouble( charIDToTypeID( "Wdth" ),charIDToTypeID( "#Prc" ), 100 );
                  desc.putUnitDouble( charIDToTypeID( "Hght" ), charIDToTypeID( "#Prc" ), 100 );
                  desc.putUnitDouble( charIDToTypeID( "Angl" ), charIDToTypeID( "#Ang" ), 0 );
                  desc.putBoolean( charIDToTypeID( "Lnkd" ), true );
                   executeAction( charIDToTypeID( "Plc " ), desc, DialogModes.NO );
                   activeDocument.activeLayer.resize(100 ,100,AnchorPosition.MIDDLECENTER);
                   activeDocument.revealAll();
          } catch (e) {
      if (!e.toString().match(/Place.+is not currently available/)) {
          throw e;
    // Remove header lines from HTTP response
    function removeHeaders(binary){
            var bContinue = true ; // flag for finding end of header
            var line = "";
            var nFirst = 0;
            var count = 0;
            while (bContinue) {
            line = getLine(binary) ; // each header line
            bContinue = line.length >= 2 ; // blank header == end of header
            nFirst = line.length + 1 ;
            binary = binary.substr(nFirst) ;
            return binary;
    // Get a response line from the HTML
    function getLine(html){
            var line = "" ;
            for (var i = 0; html.charCodeAt(i) != 10; i++){ // finding line end
            line += html[i] ;
            return line ;
    You may have to check your firewall setting if you have one and it doesn't work with some servers. At least I can not get it to work with some.

  • Export to pdf of page with MIME images and analysis

    Hi,
    I have created a web application template where i have a table in its first row i further created a table and designed a static page including images from mime repository, in second row included a analysis based on a query, and in third row a button with functionality export-to-pdf. When i execute this template it shows my static page and output of my analysis properly, when i click on export-to-pdf button it prompts for a pdf setting dialog page when i open my pdf i got the following error. ' There was an error opening this document. This file cannot be opened it has no page'. Can anyone please tell me what this error is and what is its root cause how to rectify that ?
    Thanks

    Waiting for a reply !

  • Problem with capture image from wc

    hi all, i want to capture image from my webcam and play it, but it's not work
    please help me, here's code
    public class Demo extends JFrame {
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              Demo demo = new Demo();
         public Demo() {
              super();
              int a=30;
              final JPanel panel = new JPanel();
              getContentPane().add(panel, BorderLayout.CENTER);
              setVisible(true);
              DataSource dataSource = null;
              PushBufferStream pbs;
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++) {
              // search for video device
              deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
              if(deviceInfo.getName().indexOf("vfw:/")<0)continue;
              VideoFormat videoFormat=new VideoFormat("YUV");
              System.out.println("Format: "+ videoFormat.toString());
              Dimension size= videoFormat.getSize();
              panel.setSize(size.width,size.height);
              MediaLocator loc = deviceInfo.getLocator();
              try {
                   dataSource = (DataSource) Manager.createDataSource(loc);
                   // dataSource=Manager.createCloneableDataSource(dataSource);
                   } catch(Exception e){}
                   Thread.yield();
                   try {
                        pbs=(PushBufferStream) dataSource.getStreams()[0];
                        ((com.sun.media.protocol.vfw.VFWSourceStream)pbs).DEBUG=true;
                        } catch(Exception e){}
                        Thread.yield();
                        try{dataSource.start();}catch(Exception e){System.out.println("Exception dataSource.start() "+e);}
                        Thread.yield();
                        try{Thread.sleep(1000);}catch(Exception e){} // to let camera settle ahead of processing
    }

    iTool wrote:
    hi all, i want to capture image from my webcam and play it, but it's not workThat's a very descriptive error message, "it's not work". Everyone on the board will certainly be able to help you out with that.
    The first error I see is that you're using the CaptureDeviceManager in an applet. If T.B.M pops in here, he can tell you why that's going to be a CF 99% of the time.
    The other error I see is that your code looks absolutely nothing like any working JMF webcam capture code I've personally ever seen.
    Lastly, the big one, even if you were somehow capturing video magically, you're not even trying to display it...so I'm not entirely sure why you expect to see anything with the code you just posted.
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html]
    Your best bet would be starting over and using the example code from the page linked above.

  • Downloading images from URL

    Hi All,
    I am trying to write code to download images from given URL. My application will take URLs by querying sql server, will pass that URL to my method and download images to a specific folder. There will be almost 400 images a day to download. I figured out some options like getImage(). But I would like to get idea from you to find the most efficient way to do this.
    Here is the initial code I have come up with
    private void downloadimage() throws Exception {
              String sql = "SET NOCOUNT ON SELECT DISTINCT activation_group_id FROM ACTIVATION_GROUP";
              JdoServer jdo = JdoServer.getInstance(dbKey);
              RowSet rs = jdo.getRowSet(sql);
              while (rs.next())
                   //will fetch URL from rs here, currently passing hardcoded URL for testing purpose.
                   // Get the image
                   MediaTracker tracker;
                   tracker = new MediaTracker(this);
                   Toolkit toolkit = Toolkit.getDefaultToolkit();
                   Image image = toolkit.getImage(new URL ("http://digitalcontent.cnetchannel.com/70/e1/70e18a07-7356-4a54-8498-1493da1dec3d.jpg"));
                   tracker.addImage(image, 0);
    Somehow, tracker = new MediaTracker(this) is giving me the consstructor mediatracker(myclassname) not defined error.
    I am a recent graduate and it's my first project... any help would be appreciated :)
    Thanks

    Ok, here is the update... I have tried something new which is here...
    import java.io.*;
    import java.net.*;
    public class image
         public static void imageDL(String imageURL, File Outputfolder)                     
                   throws MalformedURLException,IOException,FileNotFoundException
              OutputStream out = null;
              URLConnection conn = null;
              InputStream  in = null;     
              int imgNameIndex = imageURL.lastIndexOf('/');
              if (imgNameIndex >= 0 && imgNameIndex < imageURL.length() - 1)
                   try {
                        URL url = new URL(imageURL);
                        String file = url.getFile();
                        file = file.substring(7);
                        out = new BufferedOutputStream(new FileOutputStream(Outputfolder.getAbsolutePath()+ file));
                        conn = url.openConnection();
                        in = conn.getInputStream(); // here's where I am getting error
                        byte[] buffer = new byte[1024];
                        int numRead;
                        long numWritten = 0;
                        while ((numRead = in.read(buffer)) != -1)
                             out.write(buffer, 0, numRead);
                             numWritten += numRead;
                        System.out.println(imageURL.substring(imgNameIndex + 1) + "\t" + numWritten);
                   catch (Exception exception)
                        exception.printStackTrace();
              else
                   System.err.println("Could not figure out local file name for " + imageURL);
         in.close();
         out.close();
    }Everythign works fine, until it reaches in = conn.getinputstream();
    It throws error there:
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:617)
    Any insight??

  • Load image from URL on file open, then embed image

    I am trying to create a PDF form with an image field that is empty/blank by default. When the PDF is opened, I want it to load the image at C:\picture.jpg and embed that image in that document.
    I need it to load on file open because C:\picture.jpg will be different each time the file is opened. Currently, if I set the image URL and embed it, it uses the image at the first time it's embedded.

    Okay, I created userInfo.js and placed it in C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Javascripts. That file (adapted from How do I change an image in a button automatically without changing its location?):
    myIcon = app.trustedFunction( function (){app.beginPriv();
    this.getField("userInfo").buttonImportIcon("C:\\picture.jpg")
    app.endPriv();})
    I then added event.target.myIcon(event.target) to topmostSubform.Page1::initialize.
    I get the following error when opening my pdf:
    TypeError: this.getField("userInfo") is null
    2:XFA:topmostSubform[0]:Page1[0]:initialize
    I know the field is null. I want it to be null until I open the pdf. Is there another reason that error would be appearing?

  • HP Officejet Pro 8500 Scanner transmits a gray page with no image

    HP Officejet Pro 8500 simply sends a page filled with fuzzy, grey lines with no image.   Iʻm wondering if anyone has experienced the same, what might be causing this, and what the fix is for this.   Thanks - James

    Hello there James, aka @jml18 !
    I read about the scan quality issue you're having with your Officejet 8500, and would like to share my suggestion with you.
    Use this guide for your troubleshooting steps. If the problem continues afterwards, call HP directly to see about replacement or trade in options.
    Scans are Fuzzy or Unclear
    HP's contact info:
    If you are calling within North America, the number is 1-800-474-6836 and for all other regions: click here.
    Have a great day!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

Maybe you are looking for