This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
please use code tags.
your problem is not clear..
and if you want to use textfield value into both of your servlets, you can just do it using request.getParameter.
Joined: Mar 15, 2012
in pdf.java, in form action field i have given only Database.java servlet name so the value through string c= getParameter("textfield") is redirected to database.java but using string c=getParameter("textfield") in Converthtml3.java value is not redirected to Converthtml3.java , null value is printd when using this..
Joined: Aug 20, 2011
null value is printd when using this..
this will be because you are not passing the value of your textfield to your Converthtml3.java..
you need to pass the value of textfield to your Converthtml3.java.
you can pass textfield value using querystring with your form action to Converthtml3.java from Database.java...