Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] suggest a way -each user can get his own text in the pdf( ProgressServlet.)

UmaSankar

2005-09-09

Replies:

hi,

I am trying to create the pdf in a way which was mentioned
in ProgressServlet example, i.e by running a thread.
In my application I have to print the text that user enters
in the text box in the pdf.

For this I have created instance variable and tried it out.
But, the application is responding incorrectly when multiple
users are accessing the application at the same time. The
text which is entered first is being printed in all pdfs for
all the clients.

Also I have created an instance variable of session and saved
the entered the text in (doGet Method ) session variable and
saved the reference of session in the the servlet???s instance
variable. But this is also not working fine.

Also I have synchronized the code in doGet and doPost methods.
This is also not solving the problem. Can anybody suggest a
way so that each user must get his own text in the pdf by
using the class like one in example given in ProgressServlet.

Regards,
Puranam UmaSankar,
M.Sc Computer Science.




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.