tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mperreno <mperr...@iismail.unil.ch>
Subject Re: tomcat and servlet directories
Date Thu, 01 Nov 2001 12:53:25 GMT
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message