and it's cruising for a
bruising, as you've already found out.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 9:52 AM
To: Tomcat Users List
Subject: Re: Taglib loading classes of web application
Instead of checking the type of class by doing getClass().getName() I would
recommend using
If (myclass instanceof com.name.webapp.entities.MetaDataEntity){
...
} else {
...
}
This is better because you can check the presence of a class at compile time
instead of runtime when you do things like
://www.yoavshapira.com
-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 9:52 AM
To: Tomcat Users List
Subject: Re: Taglib loading classes of web application
Instead of checking the type of class by doing getClass().getName() I
would
recommend using
Hello all,
I have a strange question. I need to load a class that is inside a packkage of a web
application from within a taglib that the web application is using within its context.
Let me try and explain this:
I have a bunch of entities in the package: com.name.webapp.entities. In this