File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: Submit button as image
It's not a secret anymore!