Hello Raghuveer,

Thank you for your help on my problem. I will take a
close look at it.

I am not sure whether I understand your problem
completely.
The following code might help you:

    <a
href="javascript:popup('<pathname1.jsp>',600,378);">
<img src='<pathname2.gif>' border='0'> </a>

Jan-Jaap
Raghuveer Vellanki wrote:

>
>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" %>
><html:html>
><head>
><title>Test html:multibox Tag</title>
><script>
>function fnSubmit(str){ 
>alert(str);
>return;
>}
></script>
></head>
><body bgcolor="white" >
><html:form action="html-link.do" focus="continue">
><table border="0" width="100%">
><tr>
><th align="center" colspan="4">html image</th>
></tr>
><tr><td>
><html:image property="continue"
page="/images/submit1.gif"
>border="0" onclick="javascript:fnSubmit('image')" />
></tr></td>
></table>
></html:form>
></body>
></html:html>
>


Met vriendelijke groeten,
Jan-Jaap Endenburg


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to