Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

html:link problems  RSS feed

 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem.
<%
String mooseOver = "swapImage('about','" + request.getContextPath() + "/images/over.gif');";
%>
<html:link action="logon" onmooseover='<%= mooseOver %>' >
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!