A JSP page services requests as a servlet. In an application server, the source for the servlet created from a JSP named myPage is myPage_jsp.java. Once the JSP has been translated and compiled, the page's servlet follows the standard servlet lifecycle.
Expressions that are evaluated immediately use the ${ } syntax. Expressions that are differed use the #{ } syntax. Immediate evaluation expressions are always read-only value expressions.
Implicit objects include:
- PageContext
- Servlet Context
- Session
- Request
- Response
- etc.
- The JSP:useBean element declares that the page will use a bean that is stored within and is accessible from the specified scope (application, session, request, or page)
- jsp:setProperty
- jsp:getProperty
To declare that a JSP page will use tags defined in a tag library, include the taglib directive.
An Applet or JavaBeans component can be included in a JSP by using the jsp:plugin element.
0 comments:
Post a Comment