| Author |
Save dialog box in jsf
|
Happy S Singh
Ranch Hand
Joined: Nov 14, 2011
Posts: 47
|
|
I have created pdf using IText library
Now I want when the user clicks on the button ,it should prompt a save dialog box to the user to allow to browse the destination location to store the file.
Now My code looks like
Following filters are defined in web.xml
And the above code is written in the method of Backing Bean class
and invoked
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14456
|
|
|
JSF is designed to output HTML. PDF's are very different than HTML and you should use a non-JSF (traditional) servlet to generate and output the PDF. Otherwise JSF will mangle it.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: Save dialog box in jsf
|
|
|