This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Submit button as image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Submit button as image" Watch "Submit button as image" New topic

Submit button as image

Lalit Vora
Ranch Hand

Joined: Jun 22, 2006
Posts: 37

can anyone tell me how to insert image instead submit button so that when i click on it it works same as submit button in struts?

Jan Groth
Ranch Hand

Joined: Feb 03, 2004
Posts: 456

this is what you are looking for. it will submit the request to the form.

Lalit Vora
Ranch Hand

Joined: Jun 22, 2006
Posts: 37
will this work for struts tag library? I am using
<html:submit\> right now

whats alt for?

please guide me
Srihari Injeti
Ranch Hand

Joined: Jan 05, 2001
Posts: 31
try this
<html-el:image src="/path/yourimage.gif" property="myproperty" />

image type is a submit button

Srihari Injeti<BR>SCJP2 MCP CIW
GeeCON Prague 2014
subject: Submit button as image