Hi, Jack
When you say "does not work," what do you see? Do you get an error (e.g.
404-Not Found), or do you get a directory listing? If you get a directory
listing, then it is working.
Seems you're on the right track. The fact is you don't really need to do
anything special to get the examples working.
Regards,
Noel Lecaros
jackling wrote:
>
> Hi,
>
> I'm not familiar w/ the configuration also.
>
> http://localhost:8080/examples/ does not work for me. Is it my config
> problem?
>
> But I try this and works:
>
> http://localhost:8080/examples/servlet/CookieExample
>
> this is to call the \web-apps\examples\web-inf\classes\CookieExample.class
>
> Is it correct to say that we hv to put the java classes under the
> web-inf\classes?
>
> pls let me know if I'm on the right track.
>
> thanks,
> jackling.
>
> ----- Original Message -----
> 寄件者: "Noel E. Lecaros" <[EMAIL PROTECTED]>
> 收件者: <[EMAIL PROTECTED]>
> 傳送日期: 2001年5月6日 PM 11:19
> 主旨: Re: problems with Tomcat 3.2.1 samples
>
> > Hi, Ofer
> >
> > What URL did you type? Did you try: http://localhost:8080/examples/ ?
> >
> > Regards,
> > Noel Lecaros
> >
> > Ofer Baranes wrote:
> >
> > > Hi there , i install Tomcat 3.2.1 and i try to run its samples , but it
> > > failed.
> > >
> > > What's wrong or miss in the next steps which i follow :
> > >
> > > 1 - add to my autoexec.bat :
> > > set TOMCAT_HOME=c:\tmct321
> > > set JAVA_HOME=c:\jdk13002
> > > set PATH =
> > > %PATH%;c:\;c:\jdk13002\bin;c:\jdk13002;
> > > 2 - run the tomcat.bat file :
> > > tomcat.bat start
> > >
> > > 3 - open webapps\examples\servlets\index.html and hit the execute
> button
> > > which fails(all the other examples failed as well)
> > >
> > > I haven't done any change to the server.xml.
> > > Am i using right the tomcat.bat ? should i use the web.xml in any way
> ?
> > >
> > > What is wrong here ?!
> > >
> > >
> >