Author: axeonThe first thing you need to do is to install it correctly. This includes the following steps:Install Java and JDBC on your computerJava database connection (JDBC) is a standard SQL (Structured Query Language, Structured Query Language)
When we connect to the database using JDBC, we use executeQuery (String SQL) to obtain a result set. When the database structure changes or other database table result sets are obtained, we need to re-traverse the ResultSet result set based on
A very simple paging technology MySQL (the best combination with PHP) + jsp (the preferred choice for SUN Enterprise Applications) utilizes the LIMIT parameter of MySQL (the best combination with PHP) Advantages: 1. I figured out 2. I used the LIMIT
I wanted to use ajax (static dynamic website) to upload a non-refreshing file. Later I found it difficult to implement it. After searching for it online for a long time, I finally found a "pseudo ajax (static dynamic website) "implementation method,
Nowadays, jsp (the preferred choice for SUN enterprise-level applications) has been applied by more and more people to the Development of background programs and the production of dynamic web pages, today, we will introduce how to use jsp (the
I have been using ORACLE9i, oracle8 for a long time. I have written the issues that need attention in JSP for your reference only.I. How to deal with large types of Clob and BLOBCLOB can be used to store enlarged text data and store up to 4 GB of
The following is an example of the JSP Chinese garbled code solution:! String getString (String param ){String tmp;Try {Byte [] strBytes = param. getBytes ("ISO8859-1 ");Tmp = new String (strBytes, "GBK ");Return tmp;} Catch (Exception e ){Return
12.1 jsp (preferred for SUN Enterprise Applications) script elementsJsp (preferred for SUN Enterprise Applications) script elements are used to insert Java code, which will appear in the Servlet generated by the current jsp (preferred for SUN
When developing website applications, use cookies to record users' emailsInformation is a commonly used method, and the use of cookies is also very simple.. If we want to get the cookie value in the jsp (preferred for SUN Enterprise Applications)
Step 1: make some preparations-download and install the software:
Jdk is 1.4 download: http://java.sun.com/j2se/1.4/index.html
All are the default installation methods (TIPS: Set the jdk directory to a simple situation, such as d: jdk1.4)
Then,
1. Static Page garbled
The file encoding is inconsistent with the encoding to be displayed in the browser.
1) Check the original file encoding. open the file in notepad and save it as a file;
2) Add a command to the current page to recommend that
Recently I have studied HTTP Authentication in jsp (the preferred choice for SUN enterprise-level applications). It works as follows:
1. the server sends a request for authentication code 401 and a header message WWW-authenticate, and an
In this article, I will explain to you how a jsp (preferred for SUN Enterprise Applications) page exception (Exceptions) throws (Throw) and captures these Exceptions, in this way, you can obtain more favorable information in the jsp (preferred for
The getProperty tag is implemented this time. The main knowledge point is how to use reflection to call methods in the instance. Important parts have been annotated.
/*** Class description: Tag processing class, similar to the getProperty tag of jsp
Today I learnedJsp (preferred for SUN Enterprise applications). What is an object?In object-oriented programming, an object is a variable composed of operations and data as a complete object.
Objects are based on specific models. In objects,
In jsp (preferred for SUN Enterprise applications)Action instructionIncluding:Include,Forward,UseBean,GetProperty,SetProperty,Plugin.
I,Include command
tagContains a static or dynamic file.
Syntax:Or
Note:1. page = "path" is a relative path or a
In today's web development, there are more and more java-based applications. Among them, servlet plays a very important role. This series of articles will introduce some tools to assist in servlet development, so that you can choose from a variety
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