A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 25, 2003
Apr 09, 2004 11:05:00
When I use the following code, the request time expression is not being evaluated on the server and it is just showing up in the html. What am I doing wrong? (I had to mispell "onmoseover" so that javaranch would accept my post) Thanks in advance.
<html:link action="logon" onmoseover="swapImage('about', '<%=request.getContextPath()%>/images/over.gif');"> <html:img imageName="about" page="/images/About.gif"/> </html:link>
Joined: Feb 05, 2003
Apr 09, 2004 12:31:00
mooseOver = "swapImage('about','" + request.getContextPath() + "/images/over.gif');";
<html:link action="logon" onmooseover='<%= mooseOver %>' >
A good workman is known by his tools.
I agree. Here's the link:
subject: html:link problems
html:link is not working
How to replace
html:link and form
Problem with nested:link href
how to send table cell value to action class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014