in reply to Re^9: Not able to display an image in perl CGI
in thread Not able to display an image in perl CGI

Try with some other jpg files that you know are good.
poj
  • Comment on Re^10: Not able to display an image in perl CGI

Replies are listed 'Best First'.
Re^11: Not able to display an image in perl CGI
by Anonymous Monk on Apr 30, 2014 at 08:41 UTC
    hi :) even if the jpeg isn't good, the webserver wouldn't care about that ... now because the shebang is broken the error message changed .... :)
Re^11: Not able to display an image in perl CGI
by aniammu (Novice) on Apr 30, 2014 at 08:48 UTC
    :( I used some different jpg file which has been used in our product GUI. But still the same issue
      You're in the wrong forum friend :) no tomcat experts here to help you ... althought, trying to serve static files from cgi-bin directory is generally the wrong thing on most every webserver
        Hmm ok fine.. Thanks for providing the info. So how can i include images in CGI programming.

        I have an html file in /var/www/html/ directory. It works fine here.

        I created a cgi script with HTML frames, i wanted to source this html file which failed.

        Can anyone confirm if we can call html file from cgi script. If yes do we need to perform any specific modification.