the .java should not be in web-apps
compile it into a .class file and put it into webapps/serv/WEB-INF/classes/
Tomcat classloader will search this directory for classes
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net
----- Original Message -----
From: "Carlos López M." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2001 1:37 PM
Subject: Servlet problem


> 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">
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to