Java腳本處理器 jxp
Jxp(Java scripted page)包含一個Java腳本處理器和一個模板引擎,它支持同時具備文本和Java代碼的模板文件。它包含一個剖析器和一個結構處理器,剖析器用于將腳 本內容轉化為特定的結構,結構處理器將處理這些特定的結構內容轉換為常規代碼,并通過API函數在產品中輸出。主要特性:
- Java as script/template language. Why learn another one? ;)
- Run JSP-like code outside of servlet container
- support common java language 1.4 constructs (partial 1.5 syntax support on jdk 1.4)
- support common JSP constructs including import directive, declaration, EL etc (taglib not supported, yet)
- practical template sources management framework
- support caching of parsed syntax tree to eliminate reparse of template
- a servlet implementation to enable web-scripting
- extensible processing context for defining built-in function on the scripts
本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!