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.