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

What is the life-cycle of servlets?

1139


How can we create deadlock situation in servlet?

1433


How to find whether a parameter exists in the request object?

1112


What is the directory structure of web application?

990


What are the types of Session Tracking ?

1151


Whats the advantages using servlets over using CGI?

1085


What are different Authentication options available in Servlets.

1073


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

1053


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1104


Write a simple servlet program to print the contents of html.

1051


How to get the IP address of client in servlet?

1089


Which method of the httpservletrequest object is used?

1098


How to rectify errors in java servlet while compilation?

966


What do you mean by interservlet communication?

1072


What are the life-cycle methods for a servlet?

1000