Re: tomcat and servlet directories

2001-11-01 Thread mperreno

Tomcat looks for servlets classes in the
/webtxt/WEB-INF/classes directory
move your servlets there.


 I've installed TomCat 3.2 and it's serving .JSP files as it supposed
 to. But now I have a new project which I have to work my way into, and
 it's not working as it should. Look at the following tree:

 /webxt
 /webxt/data
 /webxt/servlet

 When I run a make (which works fine) my /servlet directory contains a
 lot of .class files. In the /data directory there's an index.html file
 which links to, let's say, '/webxt/servlet/userConfig' (note; without the
 .class extension, heck, without ANY extension). There is actually a
 userConfig.class file in this directory, so logically it has something to
 do with that file. I can point my browser to the /webxt/servlet directory
 and manually click the userConfig.class file, but it then starts
 downloading the file. I'm not quite sure what's missing in my
 configuration files and what I need to do to get this environment working.

 I'm running Tomcat along with Apache, and as I said, it serves
 standalone .jsp files just fine. Is there someone who can point out to me
 what I need to do now?

 Thnx in advance,
  Bob.

-- 
mathieu perrenoud [iis]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: tomcat and servlet directories

2001-10-31 Thread Bob Kersten

Hi,

I've installed TomCat 3.2 and it's serving .JSP files as it supposed
to. But now I have a new project which I have to work my way into, and
it's not working as it should. Look at the following tree:

/webxt
/webxt/data
/webxt/servlet

When I run a make (which works fine) my /servlet directory contains a
lot of .class files. In the /data directory there's an index.html file
which links to, let's say, '/webxt/servlet/userConfig' (note; without the
.class extension, heck, without ANY extension). There is actually a
userConfig.class file in this directory, so logically it has something to
do with that file. I can point my browser to the /webxt/servlet directory
and manually click the userConfig.class file, but it then starts
downloading the file. I'm not quite sure what's missing in my
configuration files and what I need to do to get this environment working.

I'm running Tomcat along with Apache, and as I said, it serves
standalone .jsp files just fine. Is there someone who can point out to me
what I need to do now?

Thnx in advance,
 Bob.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]