align
protected String align
The property to specify where to align the image.
border
protected String border
The border size around the image.
height
protected String height
The image height.
hspace
protected String hspace
The horizontal spacing around the image.
imageName
protected String imageName
The image name for named images.
ismap
protected String ismap
Server-side image map declaration.
lowsrc
protected String lowsrc
This is not defined in the HTML 4.01 spec and will be removed in a
future version of Struts.
The low resolution image source URI.
messages
protected static MessageResources messages
The message resources for this package.
name
protected String name
The JSP bean name for query parameters.
page
protected String page
The module-relative path, starting with a slash character, of the
image to be displayed by this rendered tag.
pageKey
protected String pageKey
The message resources key under which we should look up the
page
attribute for this generated tag, if any.
paramId
protected String paramId
In situations where an image is dynamically generated (such as to create
a chart graph), this specifies the single-parameter request parameter
name to generate.
paramName
protected String paramName
The single-parameter JSP bean name.
paramProperty
protected String paramProperty
The single-parameter JSP bean property.
paramScope
protected String paramScope
The single-parameter JSP bean scope.
property
protected String property
The JSP bean property name for query parameters.
scope
protected String scope
The scope of the bean specified by the name property, if any.
src
protected String src
The image source URI.
srcKey
protected String srcKey
The message resources key under which we should look up the
src
attribute for this generated tag, if any.
usemap
protected String usemap
Client-side image map declaration.
vspace
protected String vspace
The vertical spacing around the image.
width
protected String width
The image width.
doEndTag
public int doEndTag()
throws JspException
Render the end of the IMG tag.
doStartTag
public int doStartTag()
throws JspException
Render the beginning of the IMG tag.
getAlign
public String getAlign()
getBorder
public String getBorder()
getHeight
public String getHeight()
getHspace
public String getHspace()
getImageName
public String getImageName()
getIsmap
public String getIsmap()
getLowsrc
public String getLowsrc()
This is not defined in the HTML 4.01 spec and will be removed in a
future version of Struts.
getName
public String getName()
getPage
public String getPage()
getPageKey
public String getPageKey()
getParamId
public String getParamId()
getParamName
public String getParamName()
getParamProperty
public String getParamProperty()
getParamScope
public String getParamScope()
getProperty
public String getProperty()
getScope
public String getScope()
getSrc
public String getSrc()
getSrcKey
public String getSrcKey()
getUsemap
public String getUsemap()
getVspace
public String getVspace()
getWidth
public String getWidth()
release
public void release()
Release any acquired resources.
- release in interface BaseHandlerTag
setAlign
public void setAlign(String align)
setBorder
public void setBorder(String border)
setHeight
public void setHeight(String height)
setHspace
public void setHspace(String hspace)
setImageName
public void setImageName(String imageName)
setIsmap
public void setIsmap(String ismap)
setLowsrc
public void setLowsrc(String lowsrc)
setName
public void setName(String name)
setPage
public void setPage(String page)
setPageKey
public void setPageKey(String pageKey)
setParamId
public void setParamId(String paramId)
setParamName
public void setParamName(String paramName)
setParamProperty
public void setParamProperty(String paramProperty)
setParamScope
public void setParamScope(String paramScope)
setProperty
public void setProperty(String property)
setScope
public void setScope(String scope)
setSrc
public void setSrc(String src)
setSrcKey
public void setSrcKey(String srcKey)
setUsemap
public void setUsemap(String usemap)
setVspace
public void setVspace(String vspace)
setWidth
public void setWidth(String width)
src
protected String src()
throws JspException
Return the base source URL that will be rendered in the src
property for this generated element, or null
if there is
no such URL.
url
protected String url(String url)
throws JspException
Return the specified src URL, modified as necessary with optional
request parameters.
url
- The URL to be modified (or null if this url will not be used)