pd4tl
Tag savefile


Saves generated file to the specified location. Available since version 2.1.4


Tag Information
Tag Classcom.pd4ml.taglib.PD4SaveFile
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
dirtruetruejava.lang.StringA local directory to store generated PDFs to
namefalsetruejava.lang.StringFile name (optional). If the file with the given name already exists, than it appends a number to the name and autoincrements. if the attribute not set, than autogenerated name is used.
urifalsetruejava.lang.StringExternal URI, that corresponds to the path given in the attribute "dir". Mandatory, if "redirect" attribute is set. is used.
redirectfalsetruejava.lang.StringCan be set to one of the following values. "disabled" (default) - no redirect. "pdf" - redirects to the just created PDF file ("uri" attribute must be set). The last option is to assign an URL to the attribute. The URL will be called automatically with HTTP parameter "filename" set to the just generated PDF file name
redirectMethodfalsetruejava.lang.StringSpecifies redirect method if appliable (see "redirect" attribute). Can be set to one of the following values. "redirect" - default, implicitely calls ServletResponse.sendRedirect(). "forward" - calls HttpServletRequest.getRequestDispatcher.forward()
debugfalsetruejava.lang.Stringif "true" than it dumps to STDOUT debug information

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.