tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herold, Thomas" <ther...@libra.de>
Subject servlet invoking II
Date Thu, 25 May 2000 16:57:43 GMT
I'm getting crazy - mad - or I' only stupid.

Trying all the tips doesen't work. So please help.

Directory:
	$TOMCAT_HOME/libra
                                             /WEB_INF
     					web.xml
					index.html
 			                       /classes
                         			HelloWorldExample

web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> 
                                                          
 <web-app>
   <servlet>
	<servlet-name>HelloWorldExample</servlet-name>
    	<servlet-class>HelloWorldExample</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>HelloWorldExample</servlet-name>
        <url-pattern>/HelloWorldExample</url-pattern>
    </servlet-mapping>
</web-app>

index.html:
<html>
<body>
<a href ="/HelloWorldExample">Hello 2</a>
</body>

</html>

tomcat.conf:
...
ApJservMount /libra /root

What the hell is WRONG ???!!!!!!!!!!!!!!!!!!!

Please help

Thomas

By the way, there is no Jar file.



Mime
View raw message