In my setup, I had the images in the root of the web application while all
the jsps are under WEB-INF/pages.  However, I had to specify a URL of
"/<context-root>/images/view_over.gif" to be able to pick up the images.

-----Original Message-----
From: Andy Schmidgall [mailto:[EMAIL PROTECTED]
Sent: Monday, December 22, 2003 3:05 PM
To: Struts Users Mailing List
Subject: [other] RE: Rollover image


Apparently ctrl-enter sends the email... :)

Here's the example:

            <html:img src="images/view.gif" border="0"
                onmouseover="this.src='images/view_over.gif'"
                onmouseout="this.src='images/view.gif'"
                onmousedown="this.src='images/view_click.gif'"/>

-Andy

-----Original Message-----
From: Andy Schmidgall
Sent: Monday, December 22, 2003 2:03 PM
To: Struts Users Mailing List
Subject: RE: Rollover image


You can do it much the same way as with regular html and javascript.

Here's an example...

        -----Original Message-----
        From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
        Sent: Monday, December 22, 2003 3:57 AM
        To: [EMAIL PROTECTED]
        Subject: Rollover image



        Hi all

        I am relatively new to struts and I would like to know how I can
create a roll over image using the <html:image> tag. Would appreciate if
some sample piece of code is there..

        Thanks in advance

        Best regards,
        S

---------------------------------------------------------------------
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