Hi, I've written a html form to retrieve password and user name from users:
<form action="prueba-registro" method=get enctype=multipart/form-data>
<h3>
User information
</h3>
User name: <INPUT TYPE=TEXT NAME="realname"><BR>
Password: <INPUT TYPE=PASSWORD NAME="mypassword">
<P><INPUT TYPE=SUBMIT VALUE="Register">
</form>
This information is received in a servlet (checkRegistration) that checks if this information is valid. If everything is ok the servlet "checkRegistration" will call another servlet: uploadFile
In the servlet uploadFile the user is allowed to upload files to the server. In order to store the information in a database I need to know the name of the user.
How could I pass the information about the user name (whichi is available in the servler checkRegistration) to the servlet uploadFile?
Thanks