Brian Trzupek wrote:
<s:if test="%{(#isAdmin == true) or (#isScanner == true)}">
....

<s:set name="isAdmin" value="[EMAIL PROTECTED]@getRequest().isUserInRole('Administrator')}"/>

Both of the above constructs should execute in no time.
I really think that there is something else that slows downs
your page load time.
You can always measure the time that your JSP page took
to render - output current time (<%=System.currentTimeMillis()%>)
at the top of page and then at the bottom.

Actually I haven't used the second construct personally :)


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

Reply via email to