Home > front end >  I am a beginner of Java web, knock on the code, I suddenly encountered a small problem
I am a beginner of Java web, knock on the code, I suddenly encountered a small problem

Time:09-30

The code
<% @ page language="Java" contentType="text/HTML. Charset=utf-8 "
PageEncoding="utf-8" % & gt;



<meta charset="utf-8" & gt;
Insert the title here

<%
Public int count;
Public String info () {
Return "hello".
}
%>
<body>
<%
Put the println (count++);
%>

<%
Out.println (info ());
%>




In line 13 public String info () {info in this statement () {shows problems

  • Related