I've been tested for a while. embedded in the JSP page based on CKEditor edit page, the first to ckeditor the official online download ckeditor, you can download here http://download.csdn.net/detail/ kezhongke/4867921 mine is ckeditor3.x, now the
The top of the page configuration: web.xml file to write the code filter, which is as follows:
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
encodingFilter
/*
Note: (The above code must be written at the
A recently done project needs to display a two-dimensional code on the foreground page; because I have done two-dimensional code generation before, we used the previous way: Import Qrcode.jar package, and then create the background to save the
I. Webcontend layer
1.webcontent/common/meta.jsp
Code:
2.webcontent/page/page.jsp
A total of ${page.totalcount} records a total of ${page.totalpage} page display ${page.everypage each page
Current First ${page.currentpage} page
How to implement the JSP page as shown above, through the time selection box to query a certain period of business records, the following will be my little experience to share. The time selection box here is to use the My97datepicker JS plug-in, you
Method 1. The following procedure executes the Opentheindexpage () method when the page is fully loaded
telecommunications Data Collection system
Method 2: Can be the following, but the effect is not as good as Method 1.
The second
The most recent project encountered the problem of importing Excel files and saving the data in the file to a database, so I practiced the file upload.
One, page upload.jsp file
Import standard XML relational schema
Second, servlet file
1, JSP Expression & JSP program section need to pay attention to a few details: (1) JSP expression can not use ";" End (2) No more than one statement in the JSP
(3) The content in the JSP expression must be a string type, or it must be converted to
Download excel in JSP
The open () function of JavaScript is used here, and the background uses JXL to dynamically generate an Excel file stream.
Front Desk: Window.opne ("downexcelaction");
Background:
public void Downexcelaction () throws
Java.lang.NoSuchMethodError:javax.servlet.jsp.JspFactory.getJspApplicationConte(2010-11-09 09:19:06) reprint
Tags: topics
Category: Java
HTTP Status-
type Exception
Message
Description The server encountered an internal
Today encountered a problem, the updated JSP page deployed to the server under Tomcat, the page does not take effect. Finally know that there is no clear reason for Tomcat's work directory, now to learn about Tomcat's related principles
Tomcat's
Session Object
The session object is an instance of the Javax.servlet.http.HttpSession class. Has the same behavior as the session object in the Java servlets.
The session object is used to track sessions between individual client requests.
Main
* Emphasis content *javaweb Project JSP load static resources appear Chinese garbled
First of all, I introduce myself in the code encountered a garbled problem: JSP page load, load the static resources of Chinese name, appear garbled, naturally get
When obtaining data using the $ (function () {$.ajax ({})}), because the execution order of this method is executed after the JSP page is loaded completely, sometimes because the request menu and JS file loading order, cause the menu to display or
SUN JSP Tags
Dynamic introduction of "/jsp/head.jsp" >---/>----Request Forwarding
when using and tags to introduce or forward requests to other resources, you can use the tab to pass parameters to this resource. Use Request.getparameter () to
Many in the learning JSP encountered garbled problem, the solution is actually very simple, a custom character interceptor can be.
In order to be decoupled from the business code, we should separate the character conversion code into a character
Page label
The following instruction is used to introduce the required class, which is the same effect as the import statement in the Java file. Can be written in writing, separated by commas in the middle, and no semicolon at last.
Directly on the code ...
Welcome to the use of university personnel and vehicle Management system, please log in first, if not registered in this site, please register first. Admin User
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.