Overview | Library | Tag | Help
| FRAMES NO FRAMES

## pd4ml
Tag savefile

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

Tag Information
Tag Class | org.zefer.pd4ml.taglib.PD4SaveFile
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
dir | true | true | `java.lang.String` | A local directory to store generated PDFs to
name | false | true | `java.lang.String` | File 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.
uri | false | true | `java.lang.String` | External URI, that corresponds to the path given in the attribute "dir". Mandatory, if "redirect" attribute is set. is used.
redirect | false | true | `java.lang.String` | Can 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
redirectMethod | false | true | `java.lang.String` | Specifies 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()
debug | false | true | `java.lang.String` | if "true" than it dumps to STDOUT debug information

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.