struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghuveer Vellanki" <>
Subject focussing on image in struts
Date Tue, 01 Mar 2005 14:01:06 GMT
can anyone clarify,
if we can focus on an image in struts.

I have problem in using Struts <html:image tag.
my JSP code is as below.
I need to fosus " <html:image property="continue" object when page loads
I.e i need to focus on an image when the page loads.


%@ page language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<title>Test html:multibox Tag</title>
function fnSubmit(str){ 
<body bgcolor="white" >
<html:form action="" focus="continue">
<table border="0" width="100%">
<th align="center" colspan="4">html image</th>
<html:image property="continue" page="/images/submit1.gif"
border="0" onclick="javascript:fnSubmit('image')" />


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message