Joke Collection Website - Bulletin headlines - What elements does the screenplay identity in 3.jsp contain? What are their functions and grammatical formats?
What elements does the screenplay identity in 3.jsp contain? What are their functions and grammatical formats?
1, JSP comments
& lt%-* * * * *-% & gt; Is a comment character that is not output to the client.
& lt%! -* * * * * *-% & gt; Comment characters output to the client.
2. Instruction elements
& lt%@ page contenttype = "text/html"% > Sets the specified page content type.
& lt%@ includes ...%> files introduced in the translation stage.
& lt%@ Tag Library ...%> Declares the tag library used by pages that contain custom behaviors.
3. Behavior elements
& ltJSP:useBean & gt; Make JavaBeans components available in this page.
& ltJSP:set property & gt; Set the property value of JavaBeans
& ltJSP:forward & gt; Transfer the processing of the request to a servlet or JSP page.
4. Script elements
& lt% This is a scriptlet%> embedded script code.
Expression element
& lt%= This is an expression% "; Embedded java expression
5. Method declaration
& lt%! string a =“ 1“; %> is used to declare variables and methods in the implementation class of JSP pages.
- Previous article:The slogan is written wrong.
- Next article:What do you think of what the Director-General of WHO said to COVID-19?
- Related articles
- Suitable places for camping around Fuyang West Lake
- Zhengzhou Vocational and Technical College Dormitory
- What are the lyrics of Sweet Song Shiro Edition?
- Wilanda calls herself an intermediate SUV. Is it worthy of its strength?
- You can walk the dog in that park in Baoding at night. There are more dogs in that park at night. Take my dog to make friends!
- A collection of little red books praising girls' courage (40 articles)
- Invitation letter format requirements and
- What animations does aniplex have?
- Is it illegal to drink methadone?
- Children’s Promotional Posters-Children’s Flea Market Activity Plan_Kindergarten Flea Market Charity Sale Activity Plan