Hi,
example files are under [TOMCAT_HOME]/webapps/examples, this is also the
base directory for examples context.
for servlets and other java classes of examples context, they are under
[TOMCAT_HOME]/webapps/WEB-INF/classes
about missing image and links, I believe this is related to your Apache root
dir, Tomcat home dir, and your connector configuration between Apache and
Tomcat. How about if you explain your Apache root dir, your Tomcat home dir
and parts of Apache httpd.conf specifying your Apache-Tomcat integration.
any way, why don't you use mod_jk ?
hopefully useful.
eko budhi suprasetiawan
----- Original Message -----
From: "Samuzeau Pascal" <[EMAIL PROTECTED]>
To: "TOMCAT" <[EMAIL PROTECTED]>
Sent: Friday, May 11, 2001 3:59 PM
Subject: HelloWorldExample...
> Hi,
>
> I've mounted Tomcat under Apache under Unix with jserv_mod.
>
> I've done everything, and I give to my communicator the URL folllowing :
>
> http://localhost/examples/servlet/HelloWorldExample
>
> Yeah... I've got on my page :
>
> HELLO WORLD
>
> Nice, isn't it ?
>
> But I ask me some questions :
>
> 1 - When I looked the source page, I can see :
>
> <html>
> <head>
> <title>Hello World!</title>
> </head>
> <body bgcolor="white">
> <body>
> <a href="/examples/servlets/helloworld.html">
> <img src="/examples/images/code.gif" height=24 width=24 align=right
> border=0 alt="view code"></a>
> <a href="/examples/servlets/index.html">
> <img src="/examples/images/return.gif" height=24 width=24 align=right
> border=0 alt="return"></a>
> <h1>Hello World!</h1>
> </body>
> </html>
>
> So, I haven't my image on the screen WHY ????, and I haven't my links
> too.
>
> 2 - I have try to find HelloWorlExample, on my server, but it doesn't
> exist. So How can it worked ??
>
> Conclusion :
>
> Somebody can explain to me How it is working ,
>
> Sincerily
> PS
>
>
>
>