How to send data (form data) from a Swing to the servlet. Is it as simple as specifying in action attribute as in html(form)?
I am passing data to Servlet using this
You need to use HttpUrlConnection in order to communicate using HttpRequest
HttpRequest
See