Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] validating the url in the pdf files

jerry

2006-08-30


bruno <bruno <at> lowagie.com> writes:

>
> jerry wrote:
>
> >hi,
> >
> >how to find whether the urls in the pdf file is active or not.
> >
> >
> First you extract the URLs from the PDF.
> Then I guess you create a java.net.URL object
> and try openStream. If it fails, the URL is down
> for the moment, if it works, it's active.
> I don't think there's any waterproof solution.
> brm
> Bruno
>

Thank you very much for ur reply.

thanks and regards
jerry




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.