Current location - Education and Training Encyclopedia - Educational Knowledge - Seek JSP master! ! ! ! There is nothing output on the screen! ! After a long time of thinking, I still can't solve the problem.
Seek JSP master! ! ! ! There is nothing output on the screen! ! After a long time of thinking, I still can't solve the problem.
65438 +0. The System.out object is output to the standard console. If you use Eclipse or MyEclipse tools, the results will appear on the console.

2. If you want to output the content on the page, you can do this:

& lt% @ page language = " Java " import = " Java . util . * " page encoding = " UTF-8 " % & gt;

& lthtml & gt

& lthead & gt

& lttitle & gtFibola odd columns

& lt/head & gt;

& ltbody & gt

I love you

or

& lt%

Out.println ("I love you");

% & gt

& lt/body & gt;

& lt/html & gt;

3.JSP will generate java files after compilation. If you want to see the source code, you can visit:

Apache-Tomcat-6 . 0 . 14 \ work \ catalina \ localhost \ project name \ org \ Apache \ JSP

Check the _jspService method of the index_jsp.java file in the directory.