I have below piece of code in one my JSP
<%@ page language="java" import = "import com.ecc.SiteAdmin.servlets.*" %>
This file compiles and works fine on Weblogic 10 with Sun JDK 5, but fails with below message on Weblogic 10.3 with JRockit 6
SiteAdminLogin.jsp:1:36: No type with this name could be found at this location.
<%@ page language="java" import = "import com.ecc.SiteAdmin.servlets.*" %>
SiteAdminLogin.jsp:1:36: import is a keyword and cannot be used as an identifier.
<%@ page language="java" import = "import com.ecc.SiteAdmin.servlets.*" %>
I guess its asking me to remove the word import from the code, but why it works on JDK5 and not JDK6 ? Is there something more to it ?
EDIT: It seems to work fine on my colleague machine who is using IE7, I have upgraded to IE8 sometime back and then uninstalled IE8 and switched back to IE7. It looks like its a conflict on IE side.