struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepa Khetan <deepa.khe...@gmail.com>
Subject Re: Problem with image display in WAS environment
Date Wed, 02 Nov 2005 03:49:17 GMT
In WS you need to specify the entire path of the image, as in,
/<project-name>/images/g.gif .. I faced this problem and it works fine if i
give the entire path


 On 11/2/05, Jacob Wilson <strutsjo@yahoo.com> wrote:
>
>
> Hi All-
>
>
>
> I have a problem with image display in Websphere environment. It works
> fine in tomcat. I would appreciate if somebody could help me out here...
>
>
>
> Details...
>
>
>
> I am trying to call an action class and the forwarded jsp has
>
> <img src="images/g.gif" >
>
>
>
> I have the images folder in the root directory. The image does not get
> displayed for some reason...
>
>
>
> In the log, it says,
>
>
>
> [11/1/05 14:42:07:566 EST] 7ce4a126 RequestProces E
> org.apache.struts.action.RequestProcessor Invalid path /images/g.gif was
> requested
>
>
>
>
>
> I dont know from where it is appending the leading slash...
>
>
>
> Kindly let me know...
>
>
>
> Thanks
>
> J
>
>
>
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message