Hello,
it depends on the Alfresco version. In Alfresco 5.0, the old Explorer UI was removed which was based heavily on JSPs. Share only contains one or two JSPs that are used, but unfortunately one of them is a central component in login / user dashboard redirection.
Looking through my local source tree, I can't see other JSPs in Alfresco 5.0 and above than the one(s) in Share, so if you don't use Share, you'll very likely not run into issues with JSP compilation (unless you install an addon that adds JSPs to the Repository).
"Our security is concerned with JDK being deployed in production environment." - Glad I am a consultant and always can delegate dealing with narrow-minded / stubborn security to a manager of the customer…
Regards
Axel