I have a war file including some classes like this

WEB-INF\classes\myPackage\Person.class

In this war file I have also my images, jsp files etc.

I copy this war file to the deploy directory of jboss. And the deployment
seems to be OK
[J2EE Deployer] Create application bank.war
[J2EE Deployer] Installing web package: bank.war
[J2EE Deployer] Starting module bank.war
[EmbeddedTomcat] ContextManager: Adding context Ctx( /bank )
[EmbeddedTomcat] path="/bank" :jsp: init
[J2EE Deployer] J2EE application:
file:/D:/Programme/jboss_tomcat/jboss-2.0-FINAL/deploy/bank.war is
deployed.

I open the URL in a Webbrowser to start my application
(http://localhost:8080/bank). It still looks fine. But when tomcat tries to
compile a JSP I get a ClassNotFoundException: 'myPackage.Person'

How do I specify that tomcat finds this class in the war file?

Another question. How do I specify the html file that should be displayed
when a user enters 'http://localhost:8080/bank'? At the moment the browser
displays the directory contents and I have to select the proper html file.

Thanks a lot,
Stephan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to