Jstat 1. jstat-gc pid can display gc information, check gc times, and time. The last five items are the young gc count, young gc time, full gc count, full gc time, and total gc time. 2. jstat-gccapacity pid can display the usage and usage of three
When I was learning j2ee, I used jdbc to connect to ms SQL server 2000. At the beginning, everything was normal, but then I encountered a headache, after we read data from the table and put it in the ResultSet, we must read the column values in the
One stmt can only bind one result set at the same time. If you want to create multiple result sets, you need to create multiple STMT at the same time. If you define stmt in bean, it will involve a technical issue of development, you can use the
Import java. SQL .*;
Several issues to be aware of when Jbuilder correctly connects oracle ArrayiThe classes12.jar file should be used as the jdbc driver for oracle8 and later versions;Correctly set the classpath for windows and enterprise setup and
I. Attach external file Logo
When using FusionCharts, we may need to display the logo and image in the chart when loading the image. Here we can use the logoURL attribute. For example:
This link can be opened in
In general, the usage is no different from the usage, but there is one situation that requires special use Instead of the native type (because unspecified wildcard types are captured and converted to the exact type ).
For example:
Holder Holder (
Java custom log output file
Log printing is essential in the program. If you need to print different logs to different places, you need to define different Appender, then define the log level, print form, and log output path of each Appender.1 log4j
In the past few days, the access to the project page is changed to. action access, and a problem occurs when you modify the home page. Modify index. action in the web. xml file to this way. When you access the home page, the system reports a 404
Your project team receives a project: uniformly manages TV channels, movies, and radio menus, and establishes a unified menu management interface, all TV, movie, and radio channels are displayed. You have three employees: Xiao Li, Xiao xinzi, and
The following 10 programming questions can be done first to check your basic level.If you can finish it all. It means that the knowledge of JavaSE is okay.After learning JavaEE well, you will be able to find a good job in the future.If you have any
To execute a linux shell script in the project, you need to execute External commands such as system commands and linux commands in the java environment, I checked some information online and sorted it out as follows.
Java executes External commands
Everything starts from the simplest, but what is difficult is how deep it can be.
I have three years of work experience and do not need struts. I have always been familiar with jsf, spring mvc, and struts2. When I start blogging, I want to record
1. encryption, digest, and digital signature (1) public key encryption algorithm
For Public key encryption algorithms, refer to the Wikipedia entry Public-key cryptography.
The public key encryption algorithm is also called asymmetric key
Tomcat6.0 connection pool configuration 1. My current useTomcatVersion: 6.0.20. oracle is a stable 9i version.2. For convenience, % Tomcat_Home % is used to indicateTomcatInstallation directory. The installation directory is "E: \ Program Files \
Summarized points:1. During Internal redirection, requests are actually forwarded to another page or servlet through the server. At this time, the target page or servlet to be redirected can obtain the request object, you can also obtain the
The 9-9 multiplication table is generally a triangle, with each number and the for (I = 1; I
The Code is as follows:
I, j, n = 9 "* |" "1" (I = 2; I = 1) System. out. print ("" + I *
Effect
Are you tired of getting keywords from Map every time and getting the corresponding values? Using the Map. Entry class, you can get all the information at the same time. The standard Map access method is as follows: Set keys = map. keySet (); if
Hibernate supports two lock mechanisms: Pessimistic Locking and OptimisticLocking )". Pessimistic locks often rely on the locks provided by the database (and only the locks provided by the database layer can truly guarantee the exclusive data access;
Today, I am running the normal Play framwork 2.0 project on the server, the following error occurs [plain] [info] Compiling 25 Scala sources and 1 Java source to/home/admin/git/project/target/scala-2.9.1/classes... [error]
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