This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile 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

 
Srimoyee Misra
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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" />
</c:if>

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