I\'m trying to create a Signup page for my website. When the user submits the data to signup.jsp, I want to send this data to my web service using \"application/x-www-form-
In action tag of form just give url of the web service . The content-type is determined by enctype
attribute on form
If your form contains file input element then form opeaning tag should be like this
<form method="POST" action="<your web service address>" enctype="multipart/form-data" >
If it contains only text and other inputs except file than enctype
will be
application/x-www-form-urlencoded
form more info refer
java ee file upload example