My pleasure :-) Robert
-----Original Message----- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 5:15 PM To: 'Struts Users Mailing List' Subject: RE: Determining the name of a calling class Most excellent - if this is not a reference to the new 1.4 utility! Thanks Robert! -----Original Message----- From: Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 4:35 PM Yes there is, and there was a recent article in JavaDev Journal describing this. Basically what you have to do is is create a Throwable object, which you can then inspect the stacktrace. The stack trace contains the calling order of objects. Yes you have to parse it, but it works. The article presented a couple of utility classes to handle the parsing and such. It was presented as a sort of security mechanism. It was in the November 2001 issue and the source is at: www.sys-con.com/java/sourcec.cfm volume 6 issue 11. Hope that helps Robert -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>