• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic