- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
javaweb笔记(javaweb笔记)
javaweb笔记(javaweb笔记)
JSP:
A page run by the JAVA language that runs on the server. The server must provide the engine for running the JSP program
Effect:
1. provide dynamic data display
2. able to process data (inconvenient to handle abnormal information)
Dynamic JAVA code block:
Syntax: JAVA code (code)%
Mainly used for specific logical calculations
Expression:
Syntax: %= to output to the page content%
Outputs the specified content, or the calculated result of the specified expression, to the page
Declaration:
Syntax: ! Define element (defined property or method)%
Defines the properties, members, and method members of the entire page
JSP implementation: (JSP supports hot deployment)
Initial execution:
Used to request JSP-, JSP engines - translate JSP files into.Java files - compile.Java files
.class file - executes the CLASS in the life cycle of the Servlet
Multiple executions:
For the requested access to JSP-, the JSP engine checks whether the content of the JSP page is consistent with the last transfer result
If it is consistent, the last compilation result is executed
If inconsistent - translate the new JSP content into the.Java file and overwrite the previous translation results - compile the.Java file
.class file - executes the CLASS in the life cycle of the Servlet
Translation form:
The % translates into the service method.
%=% out.print (translated into) method, the expression as a print () method parameters
!% translation cost page corresponding to the members of the class or attribute members.
Command syntax:
%@ command name attribute name 1= 1 2= attribute value 2 n= n attribute name%
Page Directive: sets the relevant properties of the entire page
The coded language in the language= Java dynamic code block with the default value of JAVA.
Import= java.sql.* imports the specified packages and classes required by the encoding
Import multiple packages in the form:
1. use multiple Page instructions to write the import property again and again
2. separat
您可能关注的文档
- cwrsync 在window下实现文件同步操作步骤(Cwrsync implements file synchronization operations under window).doc
- c_缺陷与陷阱(C_ defects and pitfalls).doc
- c程序中的宏定义及运用(Macro definition and application in C program).doc
- c程序模拟试题(C simulation test).doc
- c语言 推箱子(C language Sokoban).doc
- c语言--程序填空(C language -- fill in the blanks).doc
- c语言2级程序填空(C language program 2 fill in the blanks).doc
- c语言中scanf()的用法!(The use of scanf () in c!).doc
- c_题目_练习(C_ _ practice topic).doc
- c语言中符号含义(Symbolic meaning in C language).doc
文档评论(0)