JavaServer Pages for the Search channel are in the PortalServer-DataDir/portals/portal-ID/desktop/default/SearchProvider directory.
JavaServer Pages for the DiscussionLite channel are in the PortalServer-DataDir/portals/portal-ID/desktop/default/DiscussionLite directory.
JavaServer Pages for the Discussions channel are in the PortalServer-DataDir/portals/portal-ID/desktop/default/DiscussionProvider directory.