I posted this before, but never got a response.��I'll try again:

I am using TDK 2.1b4 w/JSP for templates.

I make a call like this:

����public void doBuildTemplate(RunData data) throws Exception {
��������Log.error("Starting...");
��������data.getRequest().setAttribute("problemreports", getProblemReports());
��������Log.error("Done!");
����}

The class making the call extends this secure class:

public abstract class MySecureScreen extends BaseJspScreen {
����/**
���� * Method that sets up beans and forward the request to the JSP.
���� *
���� * @param data Turbine information.
���� * @return null - the JSP sends the information.
���� * @exception Exception, a generic exception.
���� */
����public ConcreteElement buildTemplate(RunData data)
��������throws Exception {

��������if(isAuthorized(data)) {
������������super.buildTemplate(data);
��������}
��������else {
������������//do some redirect
��������}

��������return null;
����}

����protected abstract boolean isAuthorized(RunData data)
��������throws Exception;
}

Problem is I keep getting 2 entries in the log for 1 call to the page.��It would seem 
to me that doBuildTemplate is being called twice.

Example:
[Wed Jun 13 10:28:30 EDT 2001] -- ERROR -- Starting...
[Wed Jun 13 10:28:30 EDT 2001] -- ERROR -- Done!
[Wed Jun 13 10:28:30 EDT 2001] -- ERROR -- Starting...
[Wed Jun 13 10:28:30 EDT 2001] -- ERROR -- Done!

Can anyone shed some light on this?


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

Reply via email to