Hi,
Can you suggest how to use the logic tag library to achieve the following
scenario.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
In my Action class I expect few Exceptions to be thrown. Incase if any
exception
is throw it's always redirected to a common 'error.jsp' page.
In this page I wanted to use 'logic' taglibrary to present a different content
in the
page based on the Exception thrown.
Something like -
if( Exception1) {
some html contents
} else if(Exception2) {
some html contents
} else {
some html contents
}
Also how do we achieve logical AND and logical OR condtion using logic tag
library
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
I hope we can use the logic taglibrary in the scenario what I pointed out. An
example
for the same would suffice my requirement.
Regards,
Ashutosh