Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to pass parameter from servlet to html form

Answer Posted / haneef

By the Hidden form fields..

we can set the name and values here

<input type="hidden" name="uName" value="xxx" />

this way, u can send u r parameters to html

(or) by cookies
Cookie c1=new Cookie("uName","xxx");
response.addCookie(c1);

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code to get the server information in servlet.

990


What do you mean by session tracking and also explain its techniques?

913


What are the uses of servlets?

1080


What is servlet api used for conneting database?

1184


What are the phases of the servlet life cycle?

1066


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

2136


What is the procedure for initializing a servlet?

987


Which are the different ways you can communicate between servlets?

951


Who is responsible for writing a constructor?

1211


Can we use threads in Servlets?

1091


How forward () method is different from send redirect () method?

923


Why are http servlets used in programming?

968


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

972


What are the types of servlet?

1228


Why do we need a constructor in a servlet if we use the init method?

995