I take servlet and JSP as examples.
OK, we have a form. This form have three fields: 1) type=text, name=username, value="John"; 2) type=text, name="password', value="1234"; 3) type=file, name="abc.txt", value=".......".
The request will be of the form Http:// .........?username=john&password=1234&abc.txt="...............................".
You can submit the form to any legal URI. If that URI is able to handle
this request and process the parameters are another issue.
If you use Servlet, your form should be submit to a servlet.. This servlet
can use request.getParameter("abc.txt") to get the context of file. For how to process this file, you need to pay some attention to MIME types.
OK, we have a form. This form have three fields: 1) type=text, name=username, value="John"; 2) type=text, name="password', value="1234"; 3) type=file, name="abc.txt", value=".......".
The request will be of the form Http:// .........?username=john&password=1234&abc.txt="...............................".
You can submit the form to any legal URI. If that URI is able to handle
this request and process the parameters are another issue.
If you use Servlet, your form should be submit to a servlet.. This servlet
can use request.getParameter("abc.txt") to get the context of file. For how to process this file, you need to pay some attention to MIME types.