First, JSP connection oracle8/8i/9i database (with thin mode)Testoracle.jsp is as follows:String url= "Jdbc:oracle:thin: @localhost: 1521:ORCL";ORCL for the SID of your databaseString user= "Scott";String password= "Tiger";Connection conn=
CKEditor Environment, please refer to the introduction of CKEditor3.6 tutorial in JSP
JSP pages submit form data using Rich Text control CKEditor
JSP pages use Rich Text controls CKEditor custom styles
JSP uses CKEditor and Ckfinder to implement
First thing, from the online next POI package and then import to MyEclipse.
And then the code:
Public ActionResult Excelprint () {Hssfworkbook workbook = new Hssfworkbook ();//Create an Excel file Hssfsheet sheet = Workbook.createsheet ()///Create
1. Demo traditional Custom Label (jsp2.0 previous)
use a custom label to control whether the page content (label body) is output, using the return value of doStartTag () to control
return this. Skip_body; Ignore label body
return this.
Corresponding source code: http://download.csdn.net/source/889495
Fck
Editor
The language of the control is adjustable, and there are two ways to adjust it.
First of all, set up a JS file myconfig.js, here I put it in
WebRootDirectory.
jsp-defines a label with a tagged body--loop
So far, we have defined a custom label with no label. To define a class with a label to inherit the Bodytagsupport class, Bodytagsupport extends the TagSupport class, so the doStartTag and Doendtag
Below provides 4 kinds of different circumstances of the garbled solution, basically including the web development of garbled in different situations.Mainly for the Java+mysql development environment proposed garbled solution, as long as the
recently, in order to achieve the JSP page in the query result set output to Excel files, search on the internet a lot of data, but most of the Third-party API to achieve the function, it is very troublesome, because I only need very simple features.
A Jsp+javabeans implementation of the Web calendar program, mainly using the Calendar class.Monthbean.javaPackage test;Import Java.text.DateFormat;Import Java.text.DateFormatSymbols;Import java.util.*;
public class Monthbean {Public final static int[
Create multiple mapping for a servlet
What to do when we want to create multiple name or URL patterns so that Web users can request a servlet.
Then the servlet-mapping associated with the servlet element in the deployment description file can be
P164 example 5-1 Common SQL statementsP178 Database connection Pool (1) The role of connection poolingStore multiple database connection objects, get 1 connections from the pool when the program needs it, and then return the connection pool when the
One, must rely on four packages, of which three are springboot comes with the package, you can not write the version number, there is a not in the springboot, need to set the version number1 introduction of the spring boot embedded Tomcat parsing
1. JSP directive: JSP Directive (Directive) is designed for the JSP engine,They do not directly produce any visible output, but simply tell the engine how to handle the rest of the JSP page.2. In the current JSP 2.0, the page, include, and taglib
These days in the focus on the Spring Boot+shiro framework, because before the view layer with more JSP, so you want to configure the JSP in spring boot, but spring boot officially does not recommend the use of JSP, because the JSP compared to some
Related information:"21-Day Learning Java Web Development"Get a map that encapsulates all parameter values1. Obtain the map object that encapsulates all the parameter values by using the Getparametermap () method of the Request object.2. The Map
Three, El expression languageEL full name is Expression Language. An expression language. Jsp2.0 was introduced after theEl main role: substitution: out.print ();Get data: The most common is to get data from 4 domain objects
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