Tag Archives: submit pdf

Submitting PDF to a servlet

I have written a simple servlet which writes the submitted pdf to the c drive of the server. I have written the instructions in the pdf document which can be found here
Click here to access the pdf
Download the war file
Deploy it on your server
Design your form with a submit button configured to submit “PDF” and pointing to the url
The url should be of the following format
http://:/SaveToFile/SavePdf
in my case it was http://ginger:8080/SaveToFile/SavePdf. Where ginger:8080 is my server and port no.
Save the form and hit the submit button
The form will get submitted to the servlet which writes the pdf to the c drive of the server
Let me know if you need any more help
thanks
girish

Submit PDF by email

when you design a pdf form which needs to be submitted by email, the default behavior is to submit the xml data of the form as an xml attachment of the email. But it so happens a lot of users would like to get the whole,complete pdf in the email. There are two ways to accomplish this – one way is to use livecycle server to ReaderExtend the form, or you can use acrobat to Apply Usage Rights to the form. If you do not have livecycle server but have Acrobat then you can follow the steps mentioned below achieve your goal
Open the LiveCycle Form Designer
Create your form
Then drag a button on to the form
select the button, then go to its object pallete, in the Field Tab make sure the control type is “Submit”.Then go the submit tab, make sure the submit drop down list is “PDF”, in the submit to url text box type in “mailto:
save the from as PDF
Then open the form in Acrobat
Under Advanced menu there is a option called “Enable Usage Rights in Reader”. Select this option then it asks to save your form.Save the form. This form can now be emailed when the user clicks the submit button