FAQs about Chinese JSP pages in Tomcat 4.0 and Tomcat 4.1

Currently, Tomcat, as an outstanding open-source JSP server, has been widely used in JSP development. however, as a software developed by an English-speaking Company, garbled characters are inevitable in Chinese environments. here we will summarize

Java Collection framework Summary: Sorting of TreeSet classes (1)

TreeSet supports two sorting methods: Natural sorting and custom sorting. TreeSet uses natural sorting by default. 1. Natural sorting TreeSet calls the compareTo (Object obj) method of the Set element to compare the size relationship between

Full introduction to Java Printing Program Design

Preface In our actual work, printing is often required. However, due to historical reasons, the printing function provided by Java has always been weak. In fact, the original jdk does not support printing at all. It was not until jdk1.1 that a

Java advanced programming: using the Print Service API

Java has developed rapidly in various aspects since its publication, but printing and output have always been the weakest aspect of java. In fact, Java does not support any printing function. Java1.1 contains a class called PrintJob in the java. awt

Detailed analysis of WML--XML Markup Language Development Instance

This article mainly introduces WML knowledge and how to develop WAP applications.WML is an XML-based markup language. Its official instructions and specifications are maintained by the WAP Forum. WML document types are defined as xml file types,

Turn a Java program into a Windows system service

I recently bought a machine as a source server and a few friends from other places to do something to play. However, due to the use of China Telecom's ADSL, the address is dynamic and changes every day when the machine restarts automatically. So I

Multi-language display in Servlet and Jsp

Because I have never believed that Java will have a BUG that does not allow mixed display of multiple languages, this weekend I studied the problem of multi-language display of Servlet and Jsp, that is, the problem of multi-Character Set of Servlet,

JAVA global variables and local variables

JAVA global variables and local variables are similar in usage and nature in php and asp.net. I will introduce JAVA global variables and local variables in detail. Global variables:It is also called a member variable, which is a variable defined in

Java program code for playing Wav audio files

This article recommends a good example program for playing Wav audio files. If you want to use java, you can refer to it. The Code is as follows: Copy code Import java. io. File;Import java. io. FileInputStream;Import javax.

Java (SE) You don't know -- excellent reply Summary

Original post content: LZ (that is, I am a younger brother): java (SE) You don't know. Here, I will give two board bricks with a thick face: 1. how to pass parameters to the main method when running java programs? During command line execution,

Java tool for sorting by Object Attributes

This tool class is a tool class for sorting by Object Attributes. The following functions are implemented: 1. sort by one attribute and multiple attributes of an object. 2. objects are listed in the forward and backward order of object properties. 3.

A concise tutorial on pmd

1. decompress the package;2, cd./qatools/pmd-bin-5.0.4/bin3. Modify exec_pmd.sh to modify the directory to be checked. Take useless code check as an example. The original content is:./run. sh pmd-d/home/wuhe. jyh/xxx/yyy/-rulesets java-unusedcode>

Unicode conversion, Chinese character conversion, unicode encoding

Unicode conversion, Chinese character conversion, unicode encoding Import java. util. regex. matcher; import java. util. regex. pattern; public class Translator {/*** convert Chinese characters to Unicode ** @ param s * @ return */public static

The birth of the new pet-Java + PHP Integration

I have been researching a new development model over the past few days. So I will post it for you to share. Use open-source LAJP technology. Purpose: Verify the two Kingdom languages JAVA/PHP). Different Languages and mechanisms are combined. PHP is

Example of integration of MyBatis and Spring -- MyBatis study Note 5

In this example, the project of the previous blog is rewritten by integrating MyBatis with Spring. To this end, copy the jar packages used by the project to the lib directory of the project. Readers can download the project in this example at the

Log4j example of MyBatis log -- 10 of MyBatis Study Notes

The log frameworks available for MyBatis include SLF4J, Apache Commons Logging, Log4J, and JDK logging. This article will transform the previous example to demonstrate the simple use of Log4J source code: http://down.51cto.com/data/521820. This

Apache CXF practice 5: compressing Web Service Data

In real applications, there are sometimes large data objects that need to be transmitted, or publish and call web Services in a slow network environment, in this case, you can reduce the data packet size by compressing the data stream to improve the

JFinal 1.1.0 released, Java fast WEB + ORM framework

JFinal 1.1.0 has been optimized, some small practical functions have been added, and some additional functions have been removed. Other changes are as follows: 1: Add com. jfinal. plugin. activerecord. tx. TxByRegex and TxByActionKeys. They support

Select JSP development tools

After the JSP Engine is built, you can start to use the development tools for JSP programming. Currently, popular JSP development tools include IBM VisualAge, JBuilder, NetBeans, JRun, Urledit, dreamweaver, editplus, etc. Here we mainly introduce

Solutions to common character encoding problems in Java web Applications

The following are common coding problems for Java web applications: 1. html page Encoding In web applications, browsers usually decide what encoding to use based on the value of http header: Content-type, for example, Content-Type: text/html;

Total Pages: 6206 1 .... 965 966 967 968 969 .... 6206 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.