Using UTF-8 is actually the preferred choice for jsp (SUN Enterprise applications)Therefore, web pages often require the input or output of multilingual languages.It is a convenient code.In fact, it is not difficult to set the transcoding settings
The following example shows how to access a student information table:
First, create the access database file student. mdb, open the Table Designer, enter the field name and data type, and set the primary key:
Second, establish test data:
Author: Wang Shuli
Reason:Developed a WEB project for a period of time (Based on jsp (preferred for SUN Enterprise Applications) + JavaBean technology, the server is apache (the most popular WEB server platform on Unix) + tomcat (a very useful JSP
Response. sendRedirect ("url? Parameter "); at this time, if the parameter we want to pass is Chinese, it is very likely that it will be displayed in garbled characters after it is passed. This is because response. sendRedirec ("url? Parameter. So
Cookie should be a technology that has been used for a long time. As early as the advent of HTML, there was no way to record and identify different users between each independent page. Later, people invented the Cookie technology. When a user
A new programming idea (medium ):Rare confused Programming Method GBDP (applicable to jsp (preferred for SUN Enterprise applications), asp and other programming)
GBDP Technology Implementation ideas: (General Blackbox Dynamic Programming)Fast
Iv. File Download 1、download link page download.html The page source code is as follows:
download click to download
2. Download and processing page do_download.jsp (preferred for SUN Enterprise
1.Jsp (preferred for SUN Enterprise applications)When the content entered on the page is displayedTagText and line feed processing
Enter two lines of text in the text input box on the input page:
huuhh
zookeeper zookeeper ♪
After
Install jsp in win2000 (preferred for SUN Enterprise applications)
First go to www.sun.com to download j2sdk1.4.7.
We will install java in the C: j2sdk directory. Wait...
Now the java sdk is installed. Right-click my computer and choose "properties">
Now I am building a jsp (the first choice for SUN Enterprise Applications) platform. I use windows2000 professional + JDK + tomcat (a very useful JSP running platform) The establishment of jsp (preferred for SUN Enterprise Applications) platform: 1.
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,
Comparison of read/write operations on files in JavaAuthor: Jeru LiuDate: November 29,2000Version: 1.0It's hard to score over one hundred points in chinaasp (A comparison of file read/write operations in Java), 555 ~~~, I don't know how the old
I worked as a Forum in my own community some time ago. I made a page on the basis of jive to display all the Forum posts, which can be called the general edition. I used the Forum class interface to create a SuperForum and implement Cachable,
Compared with ASP and PHP, Servlet/jsp (preferred for SUN enterprise-level applications) has a high execution efficiency due to its multi-threaded operation. Servlet/jsp (preferred for SUN Enterprise Applications) is executed in multi-threaded mode
Jsp (preferred for SUN Enterprise Applications) is connected to Oracle (large website database platform) through JDBC
I. environment variables (system variables)
JAVA_HOME = C: JDK1.3Tomcat (a very useful JSP running platform) _ HOME = C: omcat (a
What is the role of web page caching? It should be important. However, when developing network applications, Web Cache always gives us an inexplicable headache. So almost every Developer tried to solve this problem. Of course, I did not solve this
The Code is as follows:
Java. awt. image. *, java. util. *, javax. imageio. * "%>Color getRandColor (int fc, int bc) {// obtain a random Color from a given rangeRandom random = new Random ();If (fc> 255) fc = 255;If (bc> 255) bc = 255;Int r = fc +
The previous chapter focuses on the concept of built-in objects in jsp (the preferred choice for SUN enterprise-level applications). This article mainly describes some built-in object methods.
1,RequestObject methods:
☉GetAttribute (String
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.