Hello,
Sorry to bother you? I got one problem which cause me
two hours to find this problem but i don't know how to
get around it
When I call a servlet with enctype=multipart/form-data
in the form tag then
the servlet doens�t recognize any of the parameters in
the form
out.println("<html>");
out.println("<head><title>Uplaod File To Server
</title></head>");
out.println("<body>");
out.println("<form Method =\"Post\"
action=\"UploadServlet\"
enctype=\"multipart/form-data\" >");
out.println("Filename:");
out.println("<input type=\"file\" name=\"files\"
size=40>");
out.println("The destinated directory:");
out.println("<input type=\"text\" name=\"destination\"
size=\"40\" value=\""+destination+"\" >");
out.println("<input type=\"submit\" name=submitUpload
value=\"Submit\">");
out.println("<input type=\"submit\" name=cancelUpload
value=\"Cancel\">");
out.println("</form>");
when i call request.getParameter("destination") return
null value.
Any one can help me , I will really appreciate.
bin
______________________________________________________________________
Games, Movies, Music & Sports! http://entertainment.yahoo.ca
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html