My mistake. I was testing all possibilities and I sent you a bad example.

This set of HTML code works:

<IMG SRC="./Images/cancel.gif" ALT="Cancel" NAME="btnCancel">

This struts code does not:
<html:image src="./Images/cancel.gif" alt="Cancel" property="action"
value="cancel" />

When the page is resolved the above struts code equals:

<input type="image" name="action src="./Images/cancel.gif" alt="Cancel"
value="cancel">

What I am trying to do is have a couple of buttons on the page all submit
the page with different actions. Then in the action servlet read which
button was submitted via:

 String theAction = request.getParameter("action");

Is my logic sound?
Any ideas?


Regards

Alex

Original Message
Date: Tue, 8 May 2001 15:12:48 -0600
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
From: Kyle Robinson <[EMAIL PROTECTED]>
Subject: RE: icons not showing up?
Message-ID: <[EMAIL PROTECTED]>

Your src is different in each case.  The first one includes a . at the
beginning, the second does not.

Reply via email to