Revision history [back]

click to hide/show revision 1
initial version

asked 2023-04-28 09:07:28 +0800

agsiegel gravatar image agsiegel

?forward if

If I have a class defined at the top level not in any package, then the forward directive works and evaluates the if condition. For instance, class called "Auth" ...

But if I have the class in a package it does not and does not even instantiate the class. In this case the class is called "uil.Auth".

Thoughts?

?forward if

If I have a class defined at the top level not in any package, then the forward directive works and evaluates the if condition. For instance, class called "Auth" ...

<?forward uri="/login" if="${!Auth.auth()}"?>

But if I have the class in a package it does not and does not even instantiate the class. In this case the class is called "uil.Auth".

<?forward uri="/login" if="${!uil.Auth.auth()}"?>

Thoughts?

?forward if

If I have a class defined at the top level not in any package, then the forward directive works and evaluates the if condition. For instance, class called "Auth" ...

<?forward uri="/login" if="${!Auth.auth()}"?>

But if I have the class in a package it does not and does not even instantiate the class. In this case the class is called "uil.Auth".

<?forward uri="/login" if="${!uil.Auth.auth()}"?>

In both cases, the "auth()" function is public static boolean.

Thoughts?

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More