Weblogic -> GlassFish Importing of packages in JSP page

This entry is based on this forum thread.

Weblogic does not require java.util.* package to be imported in a JSP page. However, GlassFish does. Following is jluehe's comment in the forum thread.

According to JSP.1-8 ("Page Directive Attributes"), only the java.lang., javax.servlet., javax.servlet.jsp., and javax.servlet.http. packages are imported by the container. Any other packages (including java.util.*) must be imported by the page author through an "import" page directive.