I. Preface
The original author of this article is Tony Wang. This article involves file read/write and automatic jpg image generation. Using JSP + Servlet technology, JSP calls servlet to generate images.
Ii. index. jsp of the first file is as
Recently, my company has given me more and more interesting tasks. In the past two days, we have to change the jquery style to the tab style. This is not difficult, but the most troublesome thing is the business. Well, of course this is not the
Springmvc uses cx-common to implement the verification code function. springmvccx-common
Please indicate the source of the post: http://blog.csdn.net/kouwoo/article/details/42675201
Springmvc configuration will not be detailed. Here we will post the
After a long time, I forgot the basics. Let's take a look at it today. Hehah... learn new things with a warm understanding !!!
1. RequestDispatcher. forward ()-forwardIs used on the server. When forward () is used, the Servlet engine transmits the
I. Preface
The original author of this article is Tony Wang. This article involves file read/write and automatic jpg image generation. Using jsp + servlet technology, jsp calls servlet to generate images.
Ii. index. jsp of the first file is as
Because response is an implicit object in the jsp page, you can use response. sendRedirect () in the jsp page to directly implement relocation.Note:(1) When response. sendRedirect is used, no HTML output is available.This is not absolute. The
1. How to mix Jsp and SSI # include?In JSP, you can use the following method to include pure HTML:& Lt! -- # Include file = "data. inc" -- & gtHowever, if data. inc contains jsp code, we can use:& Lt % @ include file = "data. inc" % & gt
2. How to
J2EE file upload and download summary, j2ee File Upload SummaryI. File Upload
Upload process:
1. upload files on jsp pages
2. Obtain the file stream in the background (the principles are the same and the implementation methods are different.
Sevelet
To sum up, you can view it later.
Let's talk about my overall impression of exporting a page table into an excel file:
1 need to import jxl package, my is jxl-2.6.12.jar
2. Write a tool class and pass three parameters: OutputStream OS, String []
1. Set IIS 301Internet Information Service Manager-> virtual directory-> redirect to URL, enter the target URL to be redirected, and select "permanent resource redirection ".In IIS, you can also install the ISAPI Rewrite component to implement the
1. Create a VM for the old domain name under tomcat
The homepage is index. jsp, And the 404 error page is unfind. jsp.
301 redirection on the home page, facilitating Search Engine Optimization
Response. setStatus (301 );
Response. setHeader
Image. jsp -------------------------------- Jsp page for Generating Random verification code Images
The Code is as follows:
Copy codeThe Code is as follows: Java. awt. image. *, java. util. *, javax. imageio. * "%>
Color getRandColor (int fc, int bc)
JQuery Learning Content summary. Learning manual, jquery learning Manual
JQuery query manual:
I. JQuery usage
1. First download the Jquery js file and load the js file using the tag of the html file that requires JQuery:
Enter the JQuery code in
Ajax returns a lot of data, which can be called a returned Data Exception. If the returned data is not what I want or is garbled, next I will use an example to introduce some examples of jquery ajax returned data exceptions.
A new top-floor function
There are about three redirect Methods Using JSP:1. response. sendRedirect ();2. response. setHeader ("Location ","");3. The following rules are obtained after testing:I. response. sendRedirect ()No out. flush () is allowed before this statement. If
ListenerListener is a servlet listener that listens to client requests, service-side operations, and so on. Through the listener, you can automatically trigger some actions, such as the number of users listening online. When a httpsession is added,
This article introduces the usage of Content-disposition in phpheader in detail. if you need to know the header usage, refer to Content-disposition as an extension of the MIME protocol, the MIME protocol indicates how the MIME user agent displays
When multiple domain names direct to your site,301 jumpIt is a common page Jump method for each website. For Seo, it has the following functions:
1,301 jump is a jump method recognized by the search engine. That is to say, jumping from a web site
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.