tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burkard Endres" <>
Subject AW: jsps and servlets in same context?
Date Mon, 11 Jun 2001 10:39:55 GMT
i have followed your instructions but it doesn't work
the Webbrowser tells me that he could not find the page

-----Urspr√ľngliche Nachricht-----
Von: Amos Shapira []
Bereitgestellt: Montag, 11. Juni 2001 12:14
Bereitgestellt in: tomcat-user
Unterhaltung: jsps and servlets in same context?
Betreff: RE: jsps and servlets in same context?

You should map url's to your servlets. See the <servlet> and
tags in web.xml, e.g.:



The .class file have to be under WEB-INF/classes or in a JAR under

-----Original Message-----
From: Burkard Endres []
Sent: Monday, June 11, 2001 12:58 PM
Subject: jsps and servlets in same context?


i want my servlets and my jsps be served out of the same directory.
this means:
the servlet shoud be mapped to a folder so that they are accessible via:
the jsps should also be accessible via

if i copy the jsps in the /myfolder/... it works if i provide the full
path to the jsps
but if i access only /myfolder/ i recieve a directorylisting where i can
my jsps in sourcecode and this is of course not acceptable.

Kind regards

Burkard Endres

i-te systems GmbH
Wilhelm-Dahl-Strasse 16
97082 Wuerzburg

View raw message