Java
-
Note: Lecture 3 object oriented features in the Java language
[thinking before class] 1. What are objects? What are classes? What are packages? What are interfaces? What are intern…… -
Note: Lecture 6 Java threads and Java applets
[thinking before class] 1. What is a thread? What is the difference between it and a process? What is the applicable d…… -
JSP from simple to deep (3) — adding dynamic content through expressions
In our previous chapters, any HTML file can be transformed into a JSP file by changing its extension to jsp。 Of cours…… -
Here comes tiger j2se1 5 list of new features
Although the Java version has evolved from 1.0 to 1.4 2. However, the Java language itself has not changed much, only …… -
JSP from simple to deep (10) — beans and forms processing
Forms is a very common way to interact on websites. JSP makes form processing easier. The standard way to process form…… -
Note: Lesson 5 AWT graphical user interface design
[thinking before class] 1. Java language is a cross platform programming language, so how can the graphical user inter…… -
JSP from simple to deep (4) — scriptlets
In the above tutorial, we have learned how to embed Java expressions between <% = and% > character series in JSP…… -
Experience of integrating iis5 and tomcat5 with JK2 in Win32 environment
This article assumes that iis5 and tomcat5 have been installed JK2 download address: http://apache.linuxforum.net/dist…… -
Notes: Lecture 2 basic knowledge of Java language
summary: 4. Floating point (real) data real constant: ◇ decimal number form consists of numbers and decimal points, an…… -
Java learning from introduction to mastery
Java learning path (I), tool Article 1 and JDK (java development kit) JDK is the core of the whole Java, including Jav…… -
JSP from shallow to deep (2) — the first JSP
First JSP In fact, JSP simply puts Java into HTML web pages. You can change the extension of existing HTML pages from …… -
The growth path of JSP programmers
1: Explain the use of mastery, proficiency, familiarity and understanding in this article to indicate your mastery of…… -
Java character set encoding
1. General This paper mainly includes the following aspects: basic coding knowledge, Java, system software, URL, tool …… -
JSP from shallow to deep (7) — JSP directives
In the previous tutorial, we have used java util. Date。 Some people will ask: why not just use import Java util.* And…… -
Wildcards T, e, K, V,? Winter anthracene
In essence, these are wildcards, no difference, but a conventional thing in coding. For example, we can replace t in t…… -
Prevent pages from being embedded in iframe
if (window != top){ top.location.href = location.href; } -
Under tomcat, select context Configuring various database connection pools (JNDI) in XML
Tomcat6的服务器配置文件放在 ${tomcat6}/conf 目录底下。我们可以在这里找到 server.xml 和 context.xml。当然,还有其他一…… -
There are two ways for HashMap traversal. Entryset() is recommended
Map map = new HashMap(); Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry…… -
Bitwise XOR Java length
I use Oracle Java 7.51 on Ubuntu 12.04 and try to do so long a = 0x0000000080000001 ^ 0x4065DE839A6F89EEL; System.out.…… -
Java – in clojure, is (=’a’a) refers to ‘the same atom’?
In some implementations of Common Lisp, we can say that for the following expressions (eq 'a 'a) It's true, because 'A…… -
Java – when I say red, bufferedimage draws white
It must be a very stupid solution, but I'm blind I have this Code: BufferedImage bi = new BufferedImage(800,600,Buffer…… -
How can I pixelate JPG with Java?
I'm trying to pixelate JPEG using java 6 and I don't have much luck It needs to work with Java - not an image processo…… -
Java – why use constants instead of enumerations?
I have seen the use of many constants in many Java libraries, in which enumerations can be easily used Even in swing, …… -
Java – always return to the login screen
I have an application that starts the splash activity screen for 5 seconds, then opens the login activity screen, then…… -
Java – spring boot security will not throw 401 unauthorized exception, but 404 not found
My authentication is based on spring boot security example What do I need to change to throw 401 exceptions? I have an…… -
Java – convert images to black-and-white images
I use the following command in ImageMagick to convert the image to black and white: convert myimg.png -monochrome out…… -
Java – how to make a method take any type of array as a parameter?
I want to be able to take any array type as an argument in the method: public void foo(Array[] array) { System.out…… -
Java close PDF error
I have this java code: try { PDFTextStripper pdfs = new PDFTextStripper(); String textOfPDF = pdfs.getText(PD…… -
Java – prevents ehcache from attempting to access the Internet at startup
I have a fairly simple non clustered application running ehcache with spring and hibernate I received this error at st…… -
Increase hexadecimal value (Java)
Can you add hexadecimal values to Java? Hexadecimal value = hexadecimal value Solution This depends on how hexadecimal…… -
Java – refactoring foreach to for loop
I have a Java foreach loop (here is a simplified version) List<String> names = getNames(); for(String name:names…… -
Super cannot be the first line constructor in Java when solving the problem
I'm using the csvreader class, which takes local files as input But now, I need to be able to read local files and fil……