cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai.Reh...@pass-consulting.com
Subject HELP!! Servlets
Date Tue, 14 Nov 2000 09:36:06 GMT
Hi,
I have a html file under the path http://Localhost/upload which is calling a
servlet to upload a document. This is working fine. But when I move the html
file and the servlet to my http://Localhost/ROOT directory I get the error
"Not able to open the following site
http://localhost:8080/Root/servlet/requestupload. I added the servlet to the
web.xml file in the ROOT/Web-inf dir. as you can see in the attached file.

Can someone please help me?
 <<web.xml>> 
HTML-file:
<HTML>

<p>Demo MultipartRequest Upload Servlet</p>
<FORM ACTION="http://localhost:8080/ROOT/servlet/requestupload" METHOD=POST
ENCTYPE="multipart/form-data">
  What is your name? <INPUT TYPE=TEXT NAME=submitter> <BR>
  Which file to upload? <INPUT TYPE=FILE NAME=file1> <BR>
  Which file to upload? <INPUT TYPE=FILE NAME=file2> <BR>
  Which file to upload? <INPUT TYPE=FILE NAME=file3> <BR>
  <INPUT TYPE=SUBMIT>
</FORM>

</HTML>


Mime
View raw message