First, JSP action
Action is a special tag that enables the effect of multiple lines of Java code implementation through an action tag. You can insert files dynamically, Reuse JavaBean components, guide another page, and so on.
The action element
This entry is transferred from the "JSP Advanced Programming" book.I hope you can distinguish between Chu JSP (Java Server Pages) and JS (Java script) after reading this primer.I hope these two documents will be helpful to you........................
Reproduced from: http://www.cnblogs.com/hellofei/archive/2010/02/02/1662070.html
The difference between JSP forwarding and redirection
Http://blog.csdn.net/CYHJRX/archive/2009/02/26/3938252.aspx
For a long time did not look, and the foundation
1, post submission data is implicit, get is passed through the URL (you can look at the address bar of your browser), used to pass some data that do not need to be classified.
2. When using get, the size of the transmitted data is limited (note
I. Introduction to Pagination1. Paging is a technique that presents a part of the data in a database to the user. Why did you do it? Because in general the user in the query when the data is very much, when a page can not display all the data, we
There are two common ways to jump pages using JSP1. Forwarding:forward action ID with execution request forwarding
jsp:forward page="6-5-login.jsp" >jsp:forward>
2. redirect redirect using the Sendredirect () method of the
jsp summary
Static Web pageIn web design, a Web page in pure HTML (an application under the standard Universal Markup Language) is often referred to as a "static Web page", and a static web page is a standard HTML file with an. htm,. html file
I. INTRODUCTION of JSPJSP (full name Java Server pages) is a technical standard created by Sun Microsystems and many companies involved in creating a Web page that enables software developers to respond to client requests and dynamically generate
First, let's talk about the functions of several encodings in JSP/servlet.
In JSP/servlet mainly has the following areas can be set encoding, pageencoding = "UTF-8", contenttype = "text/html; charset = UTF-8", request. setcharacterencoding ("UTF-8"
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
How to use JSP to generate an Excel file http://code365.com/tech/10/65/Article/5677.Asp
12:01:49 domain name www.code365.comBrowsing statistics Total: 237 | year: 237 | month: 89 | day: 4
Normal print (full page)
Print part of the content in the webpage (custom) print remove/Add the header and footer use external controls/methods to achieve multi-function printing print background
The above is code control
Set "page settings" to set
Reprinted token.
And Related web programs (Asp, Asp.net) are also everywhere.
We hope that the web programs developed by Java can coexist with IIS (published using port 80 together ).
There are a lot of tutorials on the Internet, most of which are
The default encoding method in Java is Unicode, so it is easy to use Chinese characters. The common solution is
Java code1. String S2 = new string (s1.getbytes ("ISO-8859-1"), "UTF-8 ");String S2 = new string (s1.getbytes ("ISO-8859-1"), "UTF-8"); 1,
The original source code does not have a myeclipse project, the database uses sqlserver2000, and the server uses tomcat.
I put all the code in myeclipse10, deployed to Apache-Tomcat-6.0.35, the database uses sqlserver2008, found that the original
I. jsp connection to oracle8/8i/9i Database (in thin Mode) Testoracle. jsp is as follows:String url = "jdbc: oracle: thin :@ localhost: 1521: orcl ";// Orcl is the SID of your databaseString user = "scott ";String password = "tiger ";Connection conn
The page command is usually at the top of the jsp page. Multiple page commands can be used on a jsp page. The syntax format of the page command is as follows:
[Language = "java"]
[Extends = "package. class"]
[Import = "package. class | package. *,
I believe that many of my friends who are learning Servlet and JSP have a problem, that is, how to quickly and conveniently create a runtime, debugging, and compilation environment for Servlet and JSP. I am studying at MIT (Master of Information
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