You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mperreno <mp...@iismail.unil.ch> on 2001/11/01 13:53:25 UTC

Re: tomcat and servlet directories

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>