Hi,

I have an index.jsp page with just one image in it. This is the source of my
index.jsp

<img src="../images/add.gif"/>

My index.jsp is stored in "jsp" folder. Here is the view of my context

/test
jsp/index.jsp
images/add.gif
WEB-INF/
...

I am trying to use welcome-file and display this index.jsp page when the
user requests for
this context.

  <welcome-file-list>
      <welcome-file>jsp/index.jsp</welcome-file>
  </welcome-file-list>

When I invoke http://localhost:8080/test I am redirected to index.jsp but
the image is not displayed.

When I access the index.jsp page directly using
http://localhost:8080/test/jsp/index.jsp I can view the
image.

Any idea what is going wrong?

Regards,
Uma

Reply via email to