【正文】
信息等。這樣在以后要對該應用進行修改和完善時,只需對這一個標簽進行修改即可,易于代碼的維 護。如果在標簽中包含了過多的靜態(tài) HT- ML 語句,將影響用戶對頁面的靜態(tài)效果的修改和完善,限制標簽的使用。它的規(guī)劃應該遵循以下原則。通過這個預覽窗口,用戶可以預覽一下生成出來的 JSP 頁面的效果。 ② 模板處理部分:根據(jù)用戶選擇的模板,系統(tǒng)調用指定的模板處理模塊對這個模板進行處理。這兩個系統(tǒng)基本表在整個系統(tǒng)的開發(fā)過程中提供用戶所使用數(shù)據(jù)庫的基本信息。這樣就可以無限制地擴展和增加 JSP 的功能,而不需要等待下一版本 JSP 的出現(xiàn)。如果需要更新代碼或者需要修改一個網(wǎng)頁上的功能,只需 要修改相應的標簽即可。 JSP 標簽庫具有以下特點 : ① 易于使用: JSP 中的標簽和一般的 HTML 標記外表上是完全一樣的,使用起來和普通的 HTML 標記一樣方便。而標簽庫( Tag Library)就是客戶化標簽的集合。除了這六個標準動作以外,用戶可以定義自己的動作 來完成特定的功能。它預先生成一些常用的框架結構,使用戶可以根據(jù)自己的需要方便地從模板庫中選擇模板,而不用自己重新去搭建,節(jié)省了用戶的開發(fā)時間,方便了用戶的使用。所以,就需要有一種網(wǎng)頁開發(fā)工具,為一般的網(wǎng)頁開發(fā)人員提供常用的JSP 應用,讓只懂得一般頁面開發(fā)技術( HTML)的開發(fā)人員也能夠使用 JSP 的強大功能。得益于 Java 的操作平臺無關性,開發(fā)人員能夠很方便共享和交流執(zhí)行普通操作的組件,或者使得這些組件為更多的使用者所使用。使用 JSP 標識或者小腳本來生成頁面上的動態(tài)內容(內容是根據(jù)請求來變化的)。內容和顯示邏輯分開的好處在于,更新頁面外觀的人員不必懂得 Java代碼,而更新 Java類的人員也不必是設計網(wǎng)頁的行家。 JSP 則是 Java 在 Inter/Intra Web 上的重要應用技術,得到了廣泛的支持和承認,它可以和各種 Java技術完好地結合在一起,從而實現(xiàn)非常復雜的應用。 JSP( Java Server Page)技術就是被設 計用來滿足這樣的要求的。 隨著 WWW( World Wide Web)的普及,動態(tài)網(wǎng)頁技術也急速發(fā)展。 Prefixes used when prefix appoints to quote labels. While quoting the designated label in the template , use the designated prefix while introducing the label storehouse, appoint the name of the label。s best to raise the paying most attention to degree of the code. Is it is it is it is it is it is it get to JSP public JSP out to withdraw to use to try one39。s in this database . For instance can show , can inquire about . Basic information of the database that these basic forms of two systems provide to user39。t be experts who design webpage either. This can define Web template in JSP page with Javas , in order to set up websites made up of a page with similar appearance. Java pletion data offer, have Java code among template, this mean template these can write by one HTML person is it maintain to e. JSP develops technology as the webpage of the mainstream at present, has the following characteristics: (1) Separate the formulation and showing of the content : Using JSP technology, the page developer of Web can use HTML or XML identification to design and format the final page . Use JSP identification or bound foot turn into dynamic content of page actually (whether content according to is it e change to ask). Produce logic of content of the identification and JavaBeans package , truss up of the little script encapsulation, all scripts run in the end of the server. If key logic among identification and JavaBeans, then other people, such as Web administrative staff and page designer encapsulation, can edit and use JSP page , and does not influence the formulation of the content . (2) Emphasize the reusable package : Most JSP pages depend on the reusable one, the package stepping the platform finish more plicated treatment with required application program. Benefitting from the independence of operating platform of Java, the developer can be very convenient to share and exchange and carry out the ordinary package that operated, or make these packages used by more users. The method based on package has accelerated the total development course, the efficiency of improving the project and developing wholly greatly. Though JSP is powerful, it requires the webpage developer should be quite familiar with Java. There are still relatively few Java programmers now, for general webpage developer, the grammar of JSP is more difficult to grasp . So, need a kind of webpage developing instrument and offer monly used JSP application to general webpage developer, is it understand general page develop developer of technology (HTML ) can use strong function of JSP too only to let. Systematic design object and main technology of use: (1) Design object System this design object for understand but HTML understand general webpage developer of JSP offer a webpage developing instrument at all only, enable them to follow the systematic file, use the daily function of JSP through the label, produce one finally and only include static HTML and dynamic JSP webpage of JSP label. (2) Main technology This system is in the design, consider using the technology of the template and JSP label to realize mainly. Technology of the template The technology of the template is widely applied to various kinds of development and application system. It produc