RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
4:31 PM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahhh... and in webapps/ROOT/ create a directory called WEB-INF (please note capitals) that should fix your problem... Regards Andrew On 11/07/2006, at 11:53 PM

Re: Simple question, but can't figure out answer

2006-07-12 Thread Andrew Miehs
On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote: I already have that. I really don't understand but I bet it turns out to be something stupid (on my part). It is pretty frustrating but for now they get no images! Thanks for the reply. Jen Does http://server/images/myimage.gif

RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
Nope, where and what is it trying to display? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 7:08 AM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote

Re: Simple question, but can't figure out answer

2006-07-12 Thread Pid
PROTECTED] Sent: Wednesday, July 12, 2006 7:08 AM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote: I already have that. I really don't understand but I bet it turns out to be something stupid

Re: Simple question, but can't figure out answer

2006-07-12 Thread Andrew Miehs
? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 7:08 AM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote: I already have that. I really don't understand

Re: Simple question, but can't figure out answer

2006-07-12 Thread David Smith
stupid (on my part). It is pretty frustrating but for now they get no images! Thanks for the reply. Jen -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 4:31 PM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer

RE: Simple question, but can't figure out answer

2006-07-12 Thread Mead, Jennifer L - VSCM
? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 7:08 AM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer On 12/07/2006, at 4:01 PM, Mead, Jennifer L - VSCM wrote: I already have that. I really don't

Simple question, but can't figure out answer

2006-07-11 Thread Mead, Jennifer L - VSCM
Hello, I am trying to create some cgi pages for my company. Or I should say I have created some and now just want to add a header graphic in the main page. Nothing fancy. However, I cannot get my image to display, no matter how I embed the darned thing. I can't even get regular html to

Re: Simple question, but can't figure out answer

2006-07-11 Thread Avi Deitcher
Jen, Unless there is a particular reason (e.g. dynamically created images), why are you reading image files directly in Perl, then dumping the output? You should just use CGI to generate HTML that looks like this: img src=/images/some/path.gif/ Even if you want to dynamically *choose* the

Re: Simple question, but can't figure out answer

2006-07-11 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 More stupid question... 1 - Why are you using perl when you have tomcat - can't you just use a jsp? 2 - why can't you use an img tag? and have tomcat deliver the page... 3 - You are using tomcat aren't you? Confused Andrew On 11/07/2006,

RE: Simple question, but can't figure out answer

2006-07-11 Thread Mead, Jennifer L - VSCM
: Tuesday, July 11, 2006 2:09 PM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 More stupid question... 1 - Why are you using perl when you have tomcat - can't you just use a jsp? 2 - why can't you use an img tag? and have

Re: Simple question, but can't figure out answer

2006-07-11 Thread Andrew Miehs
Hi Jennifer, Very strange! Tomcat and perl cgi! cool - didn't know it worked... Are you sure you are not using Apache with mod_jk, or mod_proxy? As for the perl. Where is the page that prints the HTML? why don't you just add print 'img src='.$IMAGE_DIRECTORY.$image.''; Very

RE: Simple question, but can't figure out answer

2006-07-11 Thread Mead, Jennifer L - VSCM
: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 2:27 PM To: Tomcat Users List Subject: Re: Simple question, but can't figure out answer Hi Jennifer, Very strange! Tomcat and perl cgi! cool - didn't know it worked... Are you sure you are not using Apache with mod_jk

RE: Simple question, but can't figure out answer

2006-07-11 Thread Mead, Jennifer L - VSCM
: Simple question, but can't figure out answer Oh yes tomcat works for any language CGI, you need to go into the conf files and uncomment a few things but it works. Not recommended because it bypasses the security built into tomcat. Here is a sample code with the img tag inserted: #!/usr/local/bin

Re: Simple question, but can't figure out answer

2006-07-11 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2006, at 11:53 PM, Mead, Jennifer L - VSCM wrote: What this does is draw the box where the image should be. When I right click on it and look at the properties and it finds the right file. Just thought someone else would have ran

Re: Simple question, but can't figure out answer

2006-07-11 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ahhh... and in webapps/ROOT/ create a directory called WEB-INF (please note capitals) that should fix your problem... Regards Andrew On 11/07/2006, at 11:53 PM, Mead, Jennifer L - VSCM wrote: What this does is draw the box where the image