1. Download the source code of the jspsmartupload project. Http://www.zhenhua.org/article.asp? You can download the address id = 380. Decompress the downloaded source code to the webapps folder under the Tomcat directory, enable tomcat, and access
If you directly useJava ServletsYou will have to process HTTP input and HTML output in the Java class.Java programmingExperience to build complex applicationsProgram. The addition of JSP allows you to distinguish the HTML expression logic from the
1. Differences between calling JS events:
The JS event parameter of the JSP tag can be a tag, but the JSF tag cannot.
Input
Type
= "Text"
Onkeyup
= "Setsearch ('
# {Userselfaction. selfinfo. spacehost }"
/>
')"
Value = "query"
Source: Introduction to configuration in various forums: scum updated: 2008/08/31
---------------- 1. Development Environment configuration ----------------
1.1 download j2sdk and tomcat: J2sdk:
Http://java.sun.com/j2se/
Download Windows
The pagecontext object provides methods to access other hidden objects.
In the pagecontext object, you can use the following two methods to save and obtain attributes:
Setattribute (string name, object value)
Getattribute (string name)
The basic principles of JSP technology's Application in WAP:
1. WML labels and statements can be directly written in JSPProgram.
2. If you want to use JSP to process WML labels and statements, you need to use "". The format is:
... (WML
I recently registered to participate in a Web page production competition and had the opportunity to visit jiangda again in August 22. I was excited.
I can make up for my almost zero web page production knowledge, so today, cit3d was officially
Statement: This article is an article from the blog site. When you query the relevant information, you will see the same results... It should have been seen, but I did not identify the true and false, so I copied it... Very speechless... Again, I
The current request can be forwarded to a static resource, JSP page, or servlet at runtime. The requested resource must be in the same context as the jsp request.
This action will terminate the execution of the current Ye Mi ang. If the page
1. Tomcat
It not only supports running Servlet and JSP, but also features commercial Java Web application containers. tomcat has become one of the best choices for developing Enterprise Java Web applications.
2. Tomcat Structure
The Tomcat server
If you are using a container that complies with JSP 1.2/servlet 2.3, such as Tomcat 4.x or higher, you can use the absolute path in the taglib command of the JSP page instead of the web. specify the taglib element in XML.
You still need to declare
From: http://blog.csdn.net/JavaEETeacher/archive/2009/06/23/4291523.aspx
In Java Web development, when the MVC mode is used, the interface will be selected to respond to the user after the Controller completes the model call. there are usually two
Note: before learning this tutorial, complete the configuration of the servlet development environment.
I. file organization
First, let's take a look at the dynamic Web project directory structure created in Eclipse:
Important directory
Recently I have seen many forums that there are only three points:
1. In a static webpage, add />. But the problem is that this only modifies the content encoding that is passed to the browser after the HTML file is compiled, and still does not
1. Request object
The request information of the client is encapsulated in the request object, so that the client can understand the customer's requirements and then respond. It is an instance of the httpservletrequest class.
Serial number method
JSP: Include include the output of other pages (Dynamic inclusion) during the North request of the Home Page)
The include command is different from the previous one. JSP code is inserted (static inclusion) before the main page is converted to
Subject:
Share my JSP Chinese character processing experience (original) by the way)
Author:
Joyous (null)
Level 1:
Reputation value:
99
Community:
Java Web Development
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