Structural Search question

I want search my all jsps and list them out who ever not using this text
"<c:if test="${!userBean.authenticated}">". Any ideas ...


-Rambabu


1 comment
Comment actions Permalink

Rambabu Talasila wrote:

I want search my all jsps and list them out who ever not using this text
"<c:if test="${!userBean.authenticated}">". Any ideas ...


-Rambabu

That sounds more like a text search than a structural one.

However, I have an idea:

Don't do it.

Authentication shouldn't be in the JSPs, it should be in a filter so that you don't have to
repeat the check over and over again in every jsp.

0

Please sign in to leave a comment.