se.kmr.scam.web.taglib.multipart
Class GetFieldNameTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byse.kmr.scam.web.taglib.multipart.ExposeSupport
          extended byse.kmr.scam.web.taglib.multipart.ItemSupport
              extended byse.kmr.scam.web.taglib.multipart.GetFieldNameTag
All Implemented Interfaces:
IterationTag, Serializable, Tag

public class GetFieldNameTag
extends se.kmr.scam.web.taglib.multipart.ItemSupport

Expose the fieldname of a FileItem object

Version:
$Revision: 1.3 $
Author:
Jöran
See Also:
Serialized Form
Created:
den 28 november 2002

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GetFieldNameTag()
           
 
Method Summary
 int doStartTag()
           
 String getVar()
          Gets the var attribute value
 void setItem(String item)
          Sets the item attribute of this object
 void setVar(String var)
          Sets the var attribute value
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetFieldNameTag

public GetFieldNameTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

setItem

public void setItem(String item)
Sets the item attribute of this object

Parameters:
item - the new item attribute value

setVar

public void setVar(String var)
Sets the var attribute value

Parameters:
var - new var attribute value

getVar

public String getVar()
Gets the var attribute value

Returns:
the var attribute value


Copyright © 2003 SCAM. All Rights Reserved.