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
On the server side to determine whether the form is repeated, the main consideration in the page through the session to share the flag variable method to achieve, that is, in the client page set session in the flag variable, and then in the server
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:
JSP is very similar to ASP. Both provide the ability to mix some kind of program code in HTML code, and the language engine to interpret the execution code. In an ASP or JSP environment, HTML code is primarily responsible for describing the display
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
This article mainly introduces JSP compile instruction page, include, need friend can refer to the 1. JSP instruction Category: 1). Page 2. Include 3). Taglib Syntax: error occurred in test1.jsp. Error: Multiple annotations found
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
In the JSP and servlet development, today I do a small example of the Chinese garbled problem, using a lot of methods, found that still can not solve. Finally, I used the filter to calculate the end.
This method is summarized as follows: Use the
The most flexible way to publish a JSP website we can configure it in the Servlet.xml file in the Tomcat's Conf directoryCreate a new context tag within its host tag to place a JSP application, and if it is here, then we don't need toYour work is
System: WIN2003+IIS6.0+J2SE 5.0
For JSP beginners to talk about Jsp+iis must have a big head!
Although the Jakarta in the JK2 can be solved, but its configuration is quite cumbersome!
Use servletexec to solve it!
For the mainstream JSP server,
This article describes some of the most useful ways to adjust the JSP and servlet to make your servlet and JSP pages respond faster and more scalable. And in the case of increasing the number of users, the system load will show a trend of smooth and
In the preparation of JSP programs, often encountered in the Chinese character processing problems, in the acceptance of request in the Chinese characters display a string of garbled. Online processing Method A basket, the following say I used two
Fusioncharts free Download Address: http://www.fusioncharts.com/goodies/fusioncharts-free/
Next in the JSP page to introduce JS
Copy Code code as follows:
And then write
Copy Code code as follows:
The second row of the parameters are:
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,
teacher information Query & Lt;%session.getattribute ("A_name");%> Teacher information Query Return home Name Department Professional Operation options request.setcharacterencoding ("gb2312");
Often run into the operating department to clear the cache, and the cache has always been a problem, the old in front of the computer is not a way to think of a method, by accessing a JSP page automatically clear cache
String path =
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