Quantcast
Channel: Getting error in JSP compilation: "Syntax error on token "import", Name expected after this token" - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by rimonmostafiz for Getting error in JSP compilation: "Syntax error...

From game.jsp remove , from the last import, update game.jsp with this code belowUpdated game.jsp<%@ page language="java" contentType="text/html; charset=ISO-8859-1"...

View Article



Answer by Ori Marko for Getting error in JSP compilation: "Syntax error on...

In the last import you added extra , which made the compiler expect another import, use instead:<%@ page import="java.io.*,java.util.*, javax.servlet.*" %>

View Article

Getting error in JSP compilation: "Syntax error on token "import", Name...

Error is SEVERE: Servlet.service() for servlet [jsp] in context with path [/helloworld] threw exception [Unable to compile class for JSP: An error occurred at line: [28] in the generated java file:...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images