Use dreamweaver to display jsp pages by PAGE

Source: Internet
Author: User

DocumentServer behavior refers to jsp, VBScript. JavaScript, java, or ColdFusion scripts, which are run on the server rather than on the browser.

If you want to display multiple or all records obtained from the database, you must add a server action to display multiple or all records consecutively as required.

MX2004 displays multiple records on a page by providing "Duplicate region" server behavior. it can display either one record or multiple records. in addition, the "bind" Panel provides the record statistics function. You can create a record counter when displaying pages containing multiple records.

It should be noted that if multiple records are displayed on a page, you must specify a selection area containing dynamic content as the repeated area. any selected area can be changed to a repeated area. The most common is the table, table row, or a series of table rows, or even some letters and texts.

Step: Click the + button on the "server behavior" Panel, select the "repeated areas" menu item from the pop-up menu, and then specify the corresponding "record set ", number of matched records displayed on each page

Click the record set tree in the "bind" Panel to select the corresponding field, and then click Insert.

If there is A piece of text in the Table: it shows N records from A to B.

Select A, and select "bind" [first record index] "in the record set tree on the panel, and then click" insert,

Select B, select "bind" [last record index] of the record set tree on the panel ", and click" insert,

Select N, and select [total number of records] in the record set tree on the "bind" Panel. Then, click "insert,

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.