Há algum tempo atrás, foi encaminhado para a lista um servlet para permitir upload por parte do visitante.
Acontece que não consigo fazer funcionar. Estou usando o seguinte código no HTML :
 
<html>
<body>
<form name=uploadform1 enctype="multipart/form-data" method=post action='url da servlet'>
<input type=file name=file1>
<input type=submit>
</body>
</html>

e recebo a seguinte mensagem de erro :
 
HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.
 
O servlet para UPLOAD está anexo.
 
Alguém tem idéia do que está acontecendo ?
 
Atenciosamente,
Marcelo Glauco
[EMAIL PROTECTED]

MCZUploadServlet.java

Responder a