This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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...