JSP page out.println () and Ssystem.out.println () problem

Many people find System.out.println () is not something that can be output in the jsp page, it is because the System.out.println () is output to the console

We need to use out.println () and out.print () to output something to the jsp page, but may appear red phenomenon pirntln, it is because you have not added tomcat with dependence.

As follows:

Top right, click the + sign to add library, you can select tomcat

Here Insert Picture Description

Published 76 original articles · won praise 2 · Views 2120

Guess you like

Origin blog.csdn.net/weixin_43476969/article/details/104004433