Is there a cleaner way to do this in a JSP/Struts1 setup ?
<% if (SessionConfig.isAdminMode() ) { %>
... some HTML here ...
<% } %>
EDIT: In admin mode I would like to have access to additional parameters from a form element, e.g. from the form element:
input type="text" value="Test user" name="Owner"
EDIT 2: Actually, my problem is very similar to the question that was asked in : http://stackoverflow.com/questions/935666/conditionally-render-in-jsp-by-user
But I don't really get the "pseudo-code" from the likely answer