java - JSP code error - can't figure why -
')' expected out.println("welcome "+myname+", <a href="logout.jsp\" >logout</a>"); ^ illegal character: \92 out.println("welcome "+myname+", <a href="logout.jsp\" >logout</a>"); ^
all jsp files in 1 folder, not sure why issue?
the quotes around logout.jsp need escaped. change to:
out.println("welcome "+myname+", <a href=\"logout.jsp\" >logout</a>");
Comments
Post a Comment