-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
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?
![]() | 2 | No.2 Revision |
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?
![]() | 3 | No.3 Revision |
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?