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 |