Hi,

I just tried typing http://192.168.1.4/images/tomcat.gif and got the usual
helloworld html page back (still without images).

I am not sure if this is where the problem is.  What I need to do is have
all requests get processed by my servlet and have it return the appropriate
information (the 'real' application will parse the incoming URL to determine
what needs to be done).  Requests for images are not being handled by my
servlet.  BTW, since all the pages returned are generated dynamicaly, I am
running Tomcat in standalone mode (no Apache).

As an aside, this is an upgrade from an earlier version of the application
which has been running successfully on 3.23 and 4.0x..

Please let me know if there is anything else I can check to see where the
problem is?

And thanks to everyone who has helped so far - it is very appreciated.

Mark Biciunas
Agorex Inc
(905) 274-6785
[EMAIL PROTECTED]
----- Original Message -----
From: "Januski, Ken" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, July 08, 2003 4:11 PM
Subject: RE: images not appearing


> What happens if you type in browser:
> "http://helloworld/images/specificImage.jpg"; or whatever the name of your
> specific image is?
>
>
>
> -----Original Message-----
> From: Mark Biciunas [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 08, 2003 4:08 PM
> To: Tomcat Users List
> Subject: Re: images not appearing
>
>
> Again,  I have a transcription error.  In server.xml, it is actually
> "docBase" so that shouldn't be the problem.
>
>
> Mark Biciunas
> [EMAIL PROTECTED]
> ----- Original Message -----
> From: "Robert Wray" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 08, 2003 3:58 PM
> Subject: Re: images not appearing
>
>
> > Is capitalization important? docbase instead of docBase?
> >
> > At 03:09 PM 08/07/2003 -0400, you wrote:
> > >I am deploying a test servlet on Tomcat 4.1.24.  Everything works
great,
> the
> > >servlet executes, I get results back at my browser, but none of the
> images
> > >show up.
> > >
> > >In conf/server.xml, I have added the following:
> > >
> > >     <Context path="" docbase="helloworld" debug="99">
> > >         <Logger className="org.apache.catalina.logger.FileLogger"
> > >                       prefix="localhost_helloworld_log." suffix=".txt"
> > >                       timestamp="true"/>
> > >     </Context>
> > >
> > >In webapps/hello/WEB-INF/web.xml, I have the following:
> > >
> > >     <web-app>
> > >         ...
> > >         <servlet>
> > >             <servlet-name>helloworld</servlet-name>
> > >             <servlet-class>helloworld.Hello</servlet-class>
> > >         </servlet>
> > >
> > >         <servlet-mapping>
> > >             <servlet-name>helloworld</servlet-name>
> > >             <url-pattern>/</url-pattern>
> > >         </servlet-mapping>
> > >
> > >     </web-app>
> > >
> > >
> > >The image directory has been created in webapps/hello, and the
requested
> > >image does exist.  As part of trying to resolve this, have placed
copies
> of
> > >the image directory up and down the directory tree and tried calling
the
> > >image in the servlet in a number of ways (ie: /images/image.gif,
> > >../images/image.gif, images/image.gif).  Nothing seems to work to get
the
> > >image to display!!!
> > >
> > >Any and all ideas would be greatly appreciated at this point!!!
> > >
> > >Mark
> > >[EMAIL PROTECTED]
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > Robert Wray, Engineer
> > Forestry Products, Alberta Research Council
> > Phone: (780) 450-5045
> > Fax: (780) 450-5397
> > [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to