File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:link problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:link problems" Watch "html:link problems" New topic
Author

html:link problems

Anthony Watson
Ranch Hand

Joined: Sep 25, 2003
Posts: 327
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

Joined: Feb 05, 2003
Posts: 4727

No problem.
<%
String 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: http://aspose.com/file-tools
 
subject: html:link problems