FileDocCategorySizeDatePackage
FileTag.javaAPI DocExample1882Mon Jul 23 13:26:48 BST 2007org.apache.struts2.views.jsp.ui

FileTag

public class FileTag extends AbstractUITag
see
File

Fields Summary
private static final long
serialVersionUID
protected String
accept
protected String
size
Constructors Summary
Methods Summary
public org.apache.struts2.components.ComponentgetBean(com.opensymphony.xwork2.util.ValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)


            
        return new File(stack, req, res);
    
protected voidpopulateParams()

        super.populateParams();

        File file = ((File) component);
        file.setAccept(accept);
        file.setSize(size);
    
public voidsetAccept(java.lang.String accept)

        this.accept = accept;
    
public voidsetSize(java.lang.String size)

        this.size = size;