These are the things I found during my learning or online. Maybe you seem to be mentally retarded, but it is not the same for a person you just came into contact. If you are not a newbie, stop watching it again.
1. Problems Encountered during JSP
1. Command element
Page
Include
Taglib
2. Script Element
Declarations: Use . Note that the variables and methods here are shared across the entire webpage, that is, all requests on this webpage are shared.
Scriptlets: Use
1. Configure JDK 1. Download JDK and decompress the package. Assume D: \ jdk6. Make sure that the bin directory is in this directory, the following java_home directory is D: \ jdk6. 2. configure system variables (1) Right-click my computer ",
1. What is JSP (JSP pages) is a dynamic web page technical standard proposed by Sun Microsystems and jointly established by many companies. Its website is http://www.javasoft.com/products/jsp. Add Java to traditional webpage HTML files (*. htm, *.
One build result JSP
The build result JSP is designed to present the result of the build loop of the cruisecontrol. The left side of the page is about whether or not cruisecontrol is building your project, and the link to the previous build is
I am a junior and start to work for next year. Here I will collect some interview and written examination questions. Below are some basic knowledge about JSP.
JSP (Java Server Pages) inserts JavaProgramSegment and JSP tag to form a JSP file,
1. jsp
Code :
Copy code The Code is as follows: Document: Index
Created on:, 12:45:43
Author: Lucifer
-- %>
Http://www.w3.org/TR/html4/loose.dtd>
JSP page
Get scheme:
Get protocol:
Get remote address:
Get Remote Host:
Get Server
This article discusses several implementation methods for Automatic Webpage redirect. Method 1: Using meta tag is one of the indispensable tags in HTML. It provides the meta information of documents. Its parameters include: ① http-equiv: http File
1. Compile a tag processor class that implements the tag Interface
Copy codeThe Code is as follows: package cn. itcast. web. tag;
Import java. io. IOException;
Import javax. servlet. http. HttpServletRequest;Import javax. servlet. jsp. JspException;
This section describes the ServletContext and ServletConfig interfaces. Through these two interfaces, we can. set some parameters in xml, such as the database address and user name and password, to be used by Servlet, so that the Servlet does not
Document directory
HttpServletRequest
HttpServletResponse
Sample program
HttpServletLet's first review the class structure diagram mentioned in the previous section:
As you can see, HttpServlet inherits GenericServlet, but it is also an
Jsp expressions:
Copy codeThe Code is as follows:
For (int I = 1; I %>
For (int j = 1; j %>
If (j %> * = } Else
%>
}
%>
}
%>
Javascript:Copy codeThe Code is as follows: 99 multiplication table
When each JSP page is accessed for the first time, the WEB Container will send the request to the JSP Engine (a Java program) for processing. The JSP Engine first translates JSP into a _ jspServlet (essentially a servlet) and calls it according to
In the google process, I saw this article ("NicEdit cannot get textarea value under JQuery") Get an inspiration, that is, I can use js to read the content in the nicEdit Rich Text Editor, grant the content to textarea and then submit the form. Code:
JSP built-in Object request object
The request information of the client is encapsulated in the request object, so that the client can understand the customer's requirements and then respond. It is an instance of the HttpServletRequest class.
Serial
Some examples are shown on the Internet. For a simple three-level linkage, Struts, Hibernate, and other frameworks are added. This Ajax interaction does not know how it relates to these frameworks. Why is a small Demo so big.
Today, I made a dwr +
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service