In the past, I was not familiar with Java Development. I always thought that the JavaBean and Servlet are amazing, strange, and complicated. Now I have read a very basic JSP book, I have finally understood them.
Javabean is a Java class, except
//ProgramName: Download// Program functions:// Creation date: 08:49:52// Created by: yanchao// Update record: reason/content of the updated person's update date//%>
Response. setcontenttype ("application/X-download"); // set it to download
Use APACHE-commons-fileupload to write a JSP file to be uploaded
You need to download the fileupload and beanutils packages. The Code is as follows.
String mkdir (string path ){
String MSG = NULL;Java. Io. File dir;
// Create a
The tag package of the table is displayed on the JSP page: DBGrid, displaytag, and ValueList.
Eric @
Blog is really good. Collect theserverside every day.ArticleYou can understand what Java developers are doing.Yesterday I saw an article
Abstract: This article introduces a web-based management information system implementation framework. Using JSP/Servlet technology and MVC design patterns makes the development process more flexible and easy to maintain.
Key words: Management
Define the unified coding of the Java/J2EE system as a UTF-8. UTF-8 coding is a way of coding compatible with all languages, the only trouble is to find all the entrances and exits of the application system, and then use the UTF-8 to "ligation" it.
About transferring values to a report:
If you do not use Birt viewer, you can call your report using APIs. The Birt API has APIs for setting parameters.If you use the Birt viewer, you can directly use the URL or use the Birt tag.
In this article,
Many new JSP beginners often ask how to connect to the database. Why are there errors? Therefore, I wrote an article here for your reference. In fact, it is not a good practice to put all the database logic in JSP, but it is helpful for beginners to
Made a system. The user_add.jsp page and the user_list.jsp page are displayed.
Add the chinese user name "I love you" and the password "123"
Garbled characters are displayed on the display page. An error occurred while displaying Chinese
Software to be prepared before installation:
1. jdk-1.6
2. tomcat-5.5.28
3. myeclipse 7.0
If you have installed the JDK environment, you only need to install Tomcat.The software is as follows:Jdk-1.6 --:
Preface
Since the JSP 1.1 specification, JSP supports the use of custom tags in JSP. The wide use of custom tags has resulted in repeated definitions by programmers, this has led to the birth of jstl (JavaServer Pages standard tag library.Jstl is
Recently, when the image format is CMYK, the Image Upload browser cannot display the image normally, and the scaling of the image turns into a black screen,
Later, Google found that ImageMagick has powerful functions. you can install ImageMagick in
We discussed servlet in servlet parsing (2 ).The servlet interface in the UML class diagram. In this article, we will continue to discuss servletrequest, servletresponse, and servletconfig. In addition, there are servlet exceptions and servlet
The main content I discussed earlier is servlet. In fact, my intention is to only discuss servlet. However, since JSP is an indispensable part of Java Web development, there is no harm in learning more. In the previous content, we found that when
Detailed explanation of JSP database basic knowledge syntax
HTML comment
Display a comment on the client.
JSP syntax] -->Example 1Generate the same data as the above in the HTML source code of the client:
Example 2 -->In the HTML source code of
1. Action: a predefined Java code. The purpose is to make code reusable.
1. Provide information for the request phase and allow control to be transferred between pages. 2. The jsp2.0 Specification defines standard actions. Standard actions are tags
Date usage in JSP
During the development of calendar-related applications, irregular calculation of the number of daily periods, number of days per week, and weekend has been a very troublesome problem. As a result, programming of dates and times
In order to allow others to better understand the specific operation of a command, I would like to ask all of you to take your own steps on linuxThe output is written to a log file so that others can perform the same operation easily. Here I want
Maybe good things need to be discovered and summarized slowly.
Previously, the JSP system I wrote was solved by using the Jsp SmartUpload component.
A few days ago, the customer complained that when uploading large files, the browser did not respond,
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.