Home » Jsoup example: print form parameters

Jsoup example: print form parameters

by Online Tutorials Library

Jsoup Example: print form parameters

In this example, we will print form parameters like parameter name and parameter value. To do so, we are calling getElementById() method of Document class and getElementsByTag() method of Element class.

register.html

JsoupPrintFormParameters.java

Output:

Param name: name  Param value: tutor Param name: password  Param value: sj Param name: email  Param value: [email protected] Param name: submitbutton  Param value: register 
Next TopicJsoup Tutorial

You may also like