hi,
read the manual at
TOMCAT_HOME/doc/uguide/tomcat_ug.html
by the way u dont have to move ur classes set the
classpath thats enough.
bye and good luck
dushyanth
--- Chin Cedric Sung Kit <[EMAIL PROTECTED]> wrote:
> By the way, where am I supposed to put my own
> servlet classes?
>
> Thanks for any help/suggestioons,
>
> Peace,
> ced
>
> Clarence Hasselbach wrote:
>
> > I have downloaded Jakarta-Tomcat and it seems to
> work with all of the sample
> > Servets and JSP pages working. I am running on
> Linux(Caldera, although I
> > have also tried on another Red Hat 6.1 machine)
> with JDK1.2.2 installed.
> >
> > My problem is that I can't figure out how to
> create my own application. I
> > have been trying to get the doc/appdev/sample
> example to work. I have
> > included the error messages as well as a print out
> of my PATH and CLASSPATH
> > environment variables.
> >
> > I have read through the Sun Servlet2.2.pdf
> instructions on Servlets, but it
> > seems that I am missing some needed practical
> information for getting my own
> > Server and applications. Especially when it comes
> to the xml configuration
> > files and how to set up the appropriate
> directories.
> >
> > Any help would be greatly appreciated.
> > Thanks
> >
> > Errors that I am seeing:
> >
>
-----------------------------------------------------
> > Buildfile: build.xml
> >
> > prepare:
> > [Copydir] Copying 3 files to
> /var/chasselb/jakarta-tomcat/webapps/myapp
> >
> > compile:
> > [Javac] Warning: file modified in the future:
> Hello.java
> > [Javac] Compiling 1 source files to
> > /var/chasselb/jakarta-tomcat/webapps/mya
> > pp/WEB-INF/classes
> >
> > BUILD FAILED
> >
> > java.lang.NoClassDefFoundError:
> sun/tools/javac/Main
> > at
>
org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java,
> > Comp
> > iled Code)
> > at
>
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java,
> Compiled
> > Code
> > )
> > at
> org.apache.tools.ant.Target.execute(Target.java,
> Compiled Code)
> > at
> org.apache.tools.ant.Project.runTarget(Project.java,
> Compiled
> > Code)
> > at
>
org.apache.tools.ant.Project.executeTarget(Project.java,
> Compiled
> > Cod
> > e)
> > at
>
org.apache.tools.ant.Project.executeTargets(Project.java,
> Compiled
> > Co
> > de)
> > at
> org.apache.tools.ant.Main.runBuild(Main.java,
> Compiled Code)
> > at
> org.apache.tools.ant.Main.main(Main.java, Compiled
> Code)
> >
> > echo $CLASSPATH
> >
>
.:/usr/local/jdk1.2.2/lib:/usr/local/jdk1.2.2/lib/tools.jar:/var/chasselb/jakart
> >
>
a-tomcat/lib/ant.jar:/var/chasselb/jakarta-tomcat/lib/servlet.jar:/var/chasselb/
> >
>
jakarta-tomcat/lib/jasper.jar:/var/chasselb/jakarta-tomcat/lib/webserver.jar:/va
> > r/chasselb/jakarta-tomcat/lib/jaxp.jar
> > [chasselb@linux sample]$
> > [chasselb@linux sample]$ echo $PATH
> >
>
/usr/local/jdk1.2.2/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/opt/bin:/op
> >
>
t/teTeX/bin:/opt/kde/bin:/usr/java/bin:/var/chasselb/bin
> >
>
________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com
> >
> >
>
___________________________________________________________________________
> > To unsubscribe, send email to
> [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> CHIN CEDRIC SK <mailto:[EMAIL PROTECTED]>
> Programmer
> SAINS SDN BHD - GIS Section
> Tel: +6082-258218
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
http://www.lsoft.com/manuals/user/user.html
=====
H.Dushyanth
Web Programmer
Archean Infotech Limited
http://www.archeanit.com
Where Technology Meets Business
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.in address at http://mail.yahoo.co.in
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html