Yesterday read the "C # project Record" in the invoicing management system, and other books in the same case, nothing more than the database additions and deletions to check and change, but this invoicing system has a backup and restore the function
Background: The basic frame structure for each page is similar: Browsing the site will find that a lot of web sites, the basic framework of each page is the same, for example, the top is the title of the site, the middle is the content, the bottom
Examples and descriptions of dynamic and static content on JSP pages
I. Static inclusion
This article describes the JSP static inclusion statement, that is, the inclusion operation completed by using the JSP include command.In JSP, there are two
JSP custom page TAG
First we need to create the page. tld file under the WEB-INF/tld/directory
1.0
1.2
page
http://www.kevin.com/taglibs/page
htmlPage
com.lss.common.tag.PageTag
How many forms of include are available in JSP? What are the differences ?, Jspinclude
What are the include in JSP? What is the difference?
1. What are the include items in JSP?
(1)
(2)
2. Differences
(1) The former is an indicator element,
Displaying with jstl is more neat and less code than displaying with jsp
SearchRetrieval time:
Total number of records:
" escapeXml="false" />
The
Entries
Title:
Date:
Test1.jsp page:
Copy codeThe Code is as follows: My JSP 'test1. jsp 'starting page "> test2.jsp
Test2.jsp page:
Copy codeThe Code is as follows:String name = request. getParameter ("name"); // get tomcat's string formatter is ISO-8859-1Byte []
Action code snippet
Copy codeThe Code is as follows:Public String execute (){String ret = super.exe cute ();
If (RETURN_LIST.equals (ret )){Return list ();} Else {Return ret;}}
Public String list (){String show = this. getRequest (). getParameter
Deploy Servlet Filters
In fact, deploying filters with Web applications does not involve any complexity. You only need to include the filter class and other Web component classes, and put the web as you normally do. xml files, together with the
For web containers, the Servlet Context interface defines a Servlet environment object, which defines a Servlet view on the Servlet engine. By using this object, Servlet can record events, obtain resources, and obtain the engine class from
Development environment required for compiling Servlet
The basic environment required for Servlet development is JSDK and a Web server supporting Servlet.
1. JSDK (Java Servlet Development Kit)
The JSDK contains the Java class libraries and related
Servlet is a general extension of servers that support Java. Its most common purpose is to expand Web servers and provide very secure, portable, and easy-to-use CGI alternatives. It is a dynamic loading module that provides services for requests
The following example shows how to call javascript Functions in the applet.
1. applet source code (tmin_JS.java)// ImportationsImport java. awt. Graphics;Import java. awt. Event;// LiveConnect... for JavaScriptImport netscape. javascript.
Involved procedures:Tomcat 3.1
Description:Tomcat 3.1 exposed website Path Problems
Details:Tomcat 3.1 is a software developed in the Apache software environment that supports JSP 1.1 and Servlets 2.2. It has a security problem. When a
1. java is the code that runs on the server side. jsp is run on the server servlet, while javascript and html are the code that runs on the browser side. Therefore, the order of loading and execution is java> jsp> js.
2. Loading Sequence of js in
HTTP is a stateless protocol. For today's web applications, we often need to record the connection between a series of requests from a specific client. There are already many session tracking technologies, but they are not very convenient for
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