tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos López M." <clo...@grupounika.com.mx>
Subject Servlet problem
Date Fri, 23 Feb 2001 21:37:32 GMT
Hi i want to use oreilli upload class and It just doens work

Here is the diferent code, could somebody tell if something is wrong

Directori

/webapps/
	  /serv/uploadtest.html
        /servlet/UploadTest.java

web.xml, where does the UploadTest.java supose to be??

    <servlet>
        <servlet-name>
            UploadTest
        </servlet-name>
        <servlet-class>
            UploadTest.java
        </servlet-class>
		<load-on-startup>
           4
		</load-on-startup>
    </servlet>

	<servlet-mapping>
        <servlet-name>
            UploadTest
        </servlet-name>
        <url-pattern>
            /servlet/UploadTest
        </url-pattern>
    </servlet-mapping>

Html Code

<FORM METHOD=POST ENCTYPE=multipart/form-data ACTION="/servlet/UploadTest">

Mime
View raw message