Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Srimoyee Misra
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