Results 1 to 1 of 1
-
Getting HTML form values in Servlet
We can get values from HTML form using HttpServletRequest. In the example below, request is of type HttpServletRequest.
Java Code:String userName = request.getParameter("userName"); String userName = request.getParameter("password"); String userName = request.getParameter("location");
Similar Threads
-
how to search xml file data based on the given keyword from html form?
By nicemothi in forum XMLReplies: 0Last Post: 04-04-2008, 09:36 AM -
Servlet with a Form/Dropdown
By Java Tip in forum Java TipReplies: 0Last Post: 01-16-2008, 10:24 AM -
How to read attributes and values in a xml file using servlet
By pragathi_forum in forum Advanced JavaReplies: 1Last Post: 12-18-2007, 05:46 PM -
how to populate html:select with values from database
By sathya_k_83 in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 11-07-2007, 10:53 AM -
how to upload a file along with html form data
By pranith in forum Java ServletReplies: 3Last Post: 07-30-2007, 02:33 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks