tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Biciunas" <mark.biciu...@agorex.com>
Subject Re: images not appearing
Date Tue, 08 Jul 2003 20:07:37 GMT
Again,  I have a transcription error.  In server.xml, it is actually
"docBase" so that shouldn't be the problem.


Mark Biciunas
mark.biciunas@agorex.com
----- Original Message -----
From: "Robert Wray" <wray@arc.ab.ca>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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
> >mark.biciunas@agorex.com
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> Robert Wray, Engineer
> Forestry Products, Alberta Research Council
> Phone: (780) 450-5045
> Fax: (780) 450-5397
> wray@arc.ab.ca
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message