Java
-
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…… -
Note: Lecture 8 Java network programming
Think before class 1 What is TCP / IP protocol? 2. What are the two transmission protocols of TCP / IP and what ar…… -
Feel the characteristics of Java data object JDO 2.0 query language (3)
The query feature extended by manufacturers JDO manufacturers can provide jdoql with a variety of special query functi…… -
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…… -
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…… -
Java – I can have different copies of static variables for each different type of inheritance class
I want the same static variable with different values, depending on the type of class So I will public class Entity { …… -
What is an effective way to parse strings in Java?
How should I use java to parse the following string to extract the file path? ? Represents any number of random chara…… -
We need advice on server software implementation using java NiO
I'm trying to calculate the load on the server I have to build I need to create a server and register one million user…… -
Java – how to make a variable of type float null
If my float variable is set to 0, my code works, but if my variable is null, I want my code to work How can I do that?…… -
Java – syntax errors on tokens. Delete these tokens
This is the code I provided for the problem package ca.rhinoza.game; import java.awt.BorderLayout; import java.awt.Ca……