About string output problem in JSP

xiaoxiao2021-03-06  17

Package aaaa;

Import Java.io.printStream;

Public Class A

{

Public Void B (String S)

{

System.out.println (s);

}

}

This is compiled, generate a.class

Then I call in the JSP page:

<% A.B ("DDDDD");%>

Tomcat does not show any errors

But it is not available to DDDD string output, why?

转载请注明原文地址:https://www.9cbs.com/read-46024.html

New Post(0)