Charles P. Killmer wrote:

I have a bunch of JSP files that all instantiate a single class file.
Is there a way for the class file to log which file called it and
ideally from which line the call was made?

There might be a better way to do this but off the top of my head I should think this would work if you added it to your JSP pages:

<%
try {
   throw new RuntimeException("Log call");
}
catch (RuntimeException e) {
   e.printStackTrace();
}
%>

---Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to