May be the problem related to directory structure.
For e.g.

webapps
        examples
            images
            com/struts/examples
            view/modulename/A.jsp


If the forward action to A.jsp has happened then A.jsp  should have

<img src="images/*.jpeg">



Ding Lei wrote:

> Hello List,
>         I encountered problems on displaying images in JSP pages which
> belongs to a specified Struts module.
>    If we include an image file in a JSP page, say "A.jsp", and we
> we define an action forward that points to it, and access through
> that action forward in browser, the image is able to display correctly.
> But if "A.jsp" contains an iframe which points two another JSP page
> under the same module(through it's filename,not action forward),
> say B.jsp, then all images on B.jsp won't able to display properly.
>   Similiarly, if there's some javascript code snippet on A.jsp which
> popups something, such as a calender, all images on it won't able to
> display.
>
>   Any idea? Thanks!
>
> --
> layman
>
> ---------------------------------------------------------------------
> 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