Title: Form input using image tag
Kat,
 
I have
 
<html:image src="images/btn_login.gif"/>
 
and it creates this:
 
<input type="image" name="" src="images/btn_login.gif;jsessionid=lqwrkmnwb1">
 
I don't know if it should make a difference but try removing the space before /> and see if it works
 
-Nimmi
-----Original Message-----
From: Luna, Kat [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 1:47 PM
To: [EMAIL PROTECTED]
Subject: Form input using image tag

Hi,

I'm trying to use the html:image tag to submit a form, but the graphic is not rendering correctly. 
html:img works fine for display, but this is the resulting source code of <html:image src="images/submit.gif" /> tag:


  <tr>
    <td><input type="image" name=" src="images/submit.gif"></td>
    <td><input type="image" name=" src="images/reset.gif"></td>
  </tr>

Does anyone know why there is a blank property for "name" showing up and how to get rid of this?

Thanks

Kat Luna
[EMAIL PROTECTED]

Reply via email to