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


0
Avatar
Permanently deleted user

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

请先登录再写评论。