tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grossert Alexander EXT <Alexander.Grossert.ext...@mchh.siemens.de>
Subject AW: tomcat-WEB-INF
Date Wed, 16 Jul 2003 07:37:46 GMT
When you have a java class in /webapp/mywebapplication/newDirectory you also need to define
a package called mywebapplication.newDirectory in the source code of this class. When you
want to use this new class in a java class one directory above
you have to tell java where it is situated: new mywebapplication.newDirectory.myClass name
= new mywebapplication.newDirectory.myClass();
Finally, when you compile the whole package move one directory above mywebapplication and
type javac mywebapplication/myMainClass(or /*.java)

This should work.

-----Ursprungliche Nachricht-----
Von: Elif Akten [mailto:aktenel@hotmail.com]
Gesendet: Mittwoch, 16. Juli 2003 09:18
An: tomcat-user@jakarta.apache.org
Betreff: tomcat-WEB-INF



I have an webapplication under /webapp/mywebapplication,
I put all classes and lib files under WEB-INF directory classes  and lib 
directory, it works fine, but if I put a new directory under 
mywebapplication folder it gives NoClasssDef error.
what Shoul I do?

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message