Use eclipse3 + lomboz3 + Tomcat to develop JSP -- 2. edit a JSP instance

Source: Internet
Author: User
Tags apache tomcat
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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.