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

How do you deal property files in servlet?

1056


What is servletconfig?

1026


How do you define a servlet?

984


Which exception is thrown if the servlet is not initialized properly?

1020


Why is a constructor needed in a servlet even if we use the init method?

1129


What is the process to implement doget and dopost methods?

988


Why do you use session tracking in httpservlet?

1126


Explain jsessionid?

1031


What is the difference between servlet and jsp?

1113


What do you mean by cgi and what are its drawbacks?

976


What is ServletContext object?

1094


What is servlet in web technology?

1042


What is the functionality of actionservlet and requestprocessor?

1084


What if you need to span your transaction across multiple servlet invocations?

1082


What is the life-cycle of servlets?

1137