in your autoexec file
after you have set up classpath
on the next line do this
SET
CLASSPATH=.;%CLASSPATH%;tomcat\webapps\myapplication\WEB-INF\classes
after you are done doing that go to the dos prompt and
type that line again
SET
CLASSPATH=.;%CLASSPATH%;tomcat\webapps\myapplication\WEB-INF\classes
then go to
tomcat\webapps\myapplication\WEB-INF\classes
cd tomcat
cd webapps
etc.
and then type javac UploadTest.java
this should work. let me know
--- sufi malak <[EMAIL PROTECTED]> wrote:
> How can I compile UploadTest.java ?
>
>
tomcat\webapps\myapplication\WEB-INF\classes\UploadTest.java
> tomcat\webapps\myapplication\WEB-INF\classes\com
>
> The servlet UploadTest.java (from Java Servlet
> Programming, Jason Hunter)
> start like this :
>
> import com.oreilly.servlet.MultipartRequest;
> public class UploadTest extends HttpServlet {
> ........
>
>
>
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with
> body: "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body:
> "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets