Javatpoint Logo
Javatpoint Logo

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: sonoo
Param name: password 
Param value: sj
Param name: email 
Param value: sonoojaiswal1987@gmail.com
Param name: submitbutton 
Param value: register
Next TopicJsoup Tutorial




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA