3. edit a JSP instance
Content in the previous section (Environment Settings): graphic use of eclipse3 + lomboz3 + Tomcat to develop JSP -- 1. Environment
1. Create a lomboz J2EE project ". Enter "jspsample" in "project name", click "Next", and then click "Next ". 2. enter the web module 3. add a server (multiple servers can be added, one of which is the default one) 4. the effect is as follows: 5. double-click to open index. JSP: click the "lomboz View" button. For example, click the "Start server" button (or right-click "Apache Tomcat v5.0.28" and select "run server"). If everything is normal, in the "Console window", the message "server startup in..." Is output... ms ". Switch to the "lomboz J2EE View" column, select "demoweb", and click the "deployment module" button to view the output information, which generates a "demoweb. war file and deploy it to the directory of "F:/Java/Jakarta-Tomcat/webapps" (this is the Tomcat directory on my computer). Then, tomcat server automatically decompress and initialize "demoweb. war ". Open your browser and enter "http: // 127.0.0.1: 8080/demoweb/index. jsp" in the address bar. OK! You can see the following interface: You can also right-click the "demoweb" folder in "package Resource Manager", and then follow these steps: 6. in "index. added a statement "<% Out. println ("use JSP! "); %>", Save, and click "deployment module" to refresh the browser. The following page should be displayed: 7. Add the following statement, save, deploy the module, and refresh the browser. The next section describes how to use jstl (JSP Standard Template Library) and El in lomboz.
Use eclipse3 + lomboz3 + Tomcat to develop JSP -- 3. A jstl instance