Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to have a search functionality disabled in one jsp page and include in others  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a application comprising of a lot of JSP's and all the jsp's have a common header and footer jsp. There is a search functionality which is common across all the JSP's but we do not want that search option to be there in the login.jsp. The login.jsp makes use of ama.jsp which internally calls ama_header.jsp where this search functionality is included. Can you guide me how to establish this. Can i Make use of C:if ?? If so then how??

Do i need to provide more information for get help.

Can i do something like this ?
<c:if test="${pageScope.pgePathInfo != '/login'}" >
<jsp:include page="/common/goto_code.jsp" />

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!