facebook

Problems loading/displaying user selected images in jsp page

đź’ˇ
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #267526 Reply

    az_gator
    Member

    Hi,

    I am working on a dynamic-site using “Eclipse”, Tomcat, javascript, mysql, jsp …etc. I am writing code that allow users to search their local-drive for an image/images and display it in the page. The page already has a default image, but when the user browses the hard-drive and selects anoter pic, this default image is replaced.

    The functionally which is implemented in javascript & jsp/html works fine only when a page is defined in *.htm with javascript code b/t <HEAD> tags, and running separated from Eclipse. In other words, the “htm” file is on my hard-drive somewhere and I double click on it, then allow IE to run script or ActiveX… then it seems to work fine.

    Now, this never works when I run it in “jsp” page within Eclipse project (running Tomcat server)…

    The javascript still runs because I can place “alerts”; Also, the default image does show up, but it is not replaced by the image the user chooses from his hard drive, and instead the default image gets deleted and a “blank” space placed instead.

    Why is this happening ????

    Is it because I am running Tomcat, Eclipse, or Jsp…???

    Thanks

    #267603

    Riyad Kalla
    Member

    Moving to OT > Soft Dev

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problems loading/displaying user selected images in jsp page

You must be logged in to post in the forum log in