1. When using the println () method for objects of type string, if the object is null, it will print null instead of raising the NullPointerException, which is an easy illusion, and can cause problems for subsequent operations on the string.
2. The
Pageencoding is the encoding of the JSP file itself
ContentType CharSet refers to the content encoding of the server when it is sent to the client
JSP to go through the "code" two times, the first phase will use Pageencoding, the second phase will
One: Description
In this article use proficient, skilled, familiar, understand the symbol of your mastery of a technology.
Proficient: able to master more than 85% technical points of this technology, use this technology for more than two years,
Information Publishing Interface
Provides an interactive interface for publishing information and invokes the RECORDMESSAGE.JSP program.
saymessage.jsp Information Release
Line name: Display serial Number:
Use JSP forward action in JSP to achieve the page's jump function.
Grammar:
}"/> or
}" >
Value= "{parametervalue|}"/>+
This action allows you to move the request to a different page. It has only one attribute, page. The page should consist of
Tomcat is a servlet container with Web server functionality. We can download it from the address below.Http://apache.mirror.phpchina.com/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.exeThe installation is very simple, the default port number is 8
A servlet is a piece of Java code that can extend the functionality of a Web server. Each servlet runs in a process, and a new request to the servlet runs as a thread in the servlet process.The servlet container is responsible for connecting the Web
1 post Submission form is garbled
The common situation is: the page is normal, but the newly inserted data is all garbled.
This situation, because the data submitted by the program received is garbled, this garbled and inserted into the database,
Pplet Although almost no one has used it. But it also has some application scenarios, for compatibility. For each browser, you can not directly write tags, and finally consider the test for a few days, and finally write the following more
teacher information Query & Lt;%session.getattribute ("A_name");%> Teacher information Query Return home Name Department Professional Operation options request.setcharacterencoding ("gb2312");
The JSP compiler guidelines and instruction components have five types. After JSP 1.0, most of the JSPs are included in a single label that ends with . The new JSP 1.1 specification has been published and is also compatible with XML. The compiler
JSP basic articles have a lot of, but still have a lot of friends asked me to get started JSP some related issues. So simple to write their own installation process, I often use ghost to restore the system, after the recovery, no JSP running
JSP built-in object Request object
The client's request information is encapsulated in a request object to understand the customer's needs and then respond. It is an instance of the HttpServletRequest class.
Serial Number Method description
1
JSP Tag Library. Also call yourself to define the label.Application scopeJSP tags. Mainly applied to the foreground page. In the JSP. Assume that Java code such as exists in the JSP. Well, for the front-desk developers. You need to understand Java
1. Place the project folder directly under the WebApps path of the Tomcat server2. Copy one item from one Tomcat server WebApps to another Tomcat server under WebApps path3. After restarting Tomcat, visit the project on the new Saba and discover
This article is mainly used for individual study and review. Welcome to guide, discuss1, add maven dependencycom.github.miemiedevmybatis-paginator1.2.172. Add a paging plugin to the configuration fileadding interceptors to the 3,SPRINGMVC
If the JSP is not developed using inheritance, but instead uses standard instructions or action elements to include, it is too much repeating code.Rapid-framework is a Google project, you can implement the JSP page inheritance, that is, the writing
JSP three major instructionsa JSP page, you can have a definition of 0~n instructions! 1. Page-and Most complex: * pageencoding and contenttype: >pageencoding:It specifies the current JSP page encoding, as long as not to lie, there will be no
AJAX with JSP and Servlet (CODE), ajaxservlet
You are welcome to reprint it in any form, but be sure to indicate the source.
This chapter is about FQ for YouTube (click to learn from the video)
For more information about server configurations, see
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.