itext-questions  

Re: [iText-questions] Identify Acroform Submit is success or not

magesh.kasthuri
Thu, 26 Jun 2008 07:45:56 -0700

Thanks. But my problem is in Acrobat 6.0, i am getting a message that 
connection to the URL fails. But in Acrobat 8.0 it doesnot show any 
message/reply if fails. I want to know if we can handle the connection
fail in 
an iText API call. For example, i want to know if i can use an iText API
(or 
Acro JS) to check if connection to a given URL is success.
 
Regards,
Magesh

________________________________

From: Magesh Kasthuri (WT01 - Retail, CPG, Transportation and Services 
Sent: Thursday, June 26, 2008 3:51 PM
To: 'itext-questions@lists.sourceforge.net'
Subject: Identify Acroform Submit is success or not


Hi,
 
  I want to submit a Acroform (some fields and a Submit button with
createSubmitForm() action). I want to know how to find if the URL
specified in the createSubmitForm() is available (connectable) or not.
In other words, How to identify if submit fails and display a message.
For example:
I have the code piece like
 
PdfAction action1 =
PdfAction.createSubmitForm(http://localhost:8080/abc/xyz.jsp
<http://localhost:8080/abc/xyz.jsp> , null, PdfAction.SUBMIT_XFDF);
 
If the server in localhost:8080 is not connectable (server not started)
how i can display a message/alert.
 
Regards,
Magesh
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar