|
Rajat,
I hope you are using this textfield in a form in your HTML page. Use the getParameter('form-field-name') method in HttpServletRequest to get your form element's value. public void doGet(HttpServletRequest request, HttpServletResponse
response)
Suresh Rajat Bhattacharya wrote: How do i access a HTML variable in Servlets.For Example:If i have a text field in HTML and I have access the value of the textfield and perform some validation. |
- how to access HTML variable from a servlet Rajat Bhattacharya
- Re: how to access HTML variable from a servle... Amit Bansal
- Re: how to access HTML variable from a servle... Suresh Kumar Govindaraj
- Re: how to access HTML variable from a servle... Beas Dev Ralhan
- Re: how to access HTML variable from a servle... Nagamani Nutulapati
- Re: how to access HTML variable from a servle... Zhu Jianga
- Re: how to access HTML variable from a servle... Wang, Jianming
- Re: how to access HTML variable from a servle... Punya, Sheel
