Op 8/12/2011 13:15, aaronyeo22 schreef:
> <body>
>          <form action="NewServlet" method="get">
>              <input type="file"  name="aaa"/>
>              <input type="submit"/>
>          </form>
>     </body>
>
> the above that's my.jsp.

Looks like plain HTML to me. Why would you put this in a JSP file? Also: 
you have an input type "file" but you post it using an ordinary get? How 
is that ever going to work? That's a serious newbie error (and 
completely off-topic on this list).

> i want let the user select the pdf file

So you want the user to upload a PDF from his local disk.

> and servlet
> able to communicate with that pdf file choose by user.

And you want a Servlet to "do something" with that PDF.

OK, start by reading a book about writing HTML to find out how to write 
form to upload files correctly.
Then read a book about Servlets, more specifically how to extract the 
bytes of that file from a Multipart request.

As soon as you've acquired all this knowledge (that is not related to 
iText), you can come back to this list and explain your PDF related problem.

>   thanks
You're welcome, but we'd appreciate it if you keep your questions on-topic.

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to