nothing! :)
~
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 2:08 PM
Subject: RE: Servlet problem


> Thanks for the tip, but another question what's  has to go in the
/servlet/
> folder
>
> -----Mensaje original-----
> De: Michael Wentzel [mailto:[EMAIL PROTECTED]]
> Enviado el: Viernes, 23 de Febrero de 2001 03:24 p.m.
> Para: '[EMAIL PROTECTED]'
> Asunto: RE: Servlet problem
>
>
> > 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>
>
> First, the servlet-class should be your class not your source files.
> Therefore if your class is in package servlet.UploadTest it would be
> <servlet-class>
>     servlet.UploadTest
> </servlet-class>
>
> If you are not using a package specifier it would just be
> <servlet-class>
>     UploadTest
> </servlet-class>
>
> Second, you should put your class file in
> WEB-INF/classes/<package>/<classname>.class
>
> >
> > <servlet-mapping>
> >         <servlet-name>
> >             UploadTest
> >         </servlet-name>
> >         <url-pattern>
> >             /servlet/UploadTest
> >         </url-pattern>
> >     </servlet-mapping>
>
> The reason the example servlets are ./servlet/<ServletName> is not because
> they're in the servlet package but because that is the default mapping.
>
> ---
> Michael Wentzel
> Software Developer
> Software As We Think - http://www.aswethink.com
> mailto:[EMAIL PROTECTED]
>
> - Punisher of those who cannot spell dumb(JG)!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> 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