Hi,

I have set up a web.xml file in the
default-web-app directory, it reads
as follows:
<web-app>
    <servlet>
        <servlet-name>MyApp</servlet-name>
        <servlet-class>com.testing.test</servlet-class>
                <load-on-startup>1</load-on-startup>
      <servlet-mapping>
        <servlet-name>MyApp</servlet-name>
       <url-pattern>*.tnt</url-pattern>
      </servlet-mapping>
</web-app>

I have images that don't show up in the 
servlet and I believe I don't have the
image directory in the right location

If I access the servlet like this
http://localhost/MyApp/GetListing.tnt

When the page is served, my images don't
show up, and they show the following path
http://localhost/MyApp/myimage.gif

Q1) Where should the images be placed to be
found.

Q2) Do I need to do an image mapping someplace??

thanks,

Paul

Reply via email to