JS First you need to install the IIS server on the WIN2000, and then proceed to the following steps:
One, download the necessary software.
One is the JDK, now the latest version is 1.4, can be downloaded to the official Java site:
1, build and understand your Web Server.
because Apache is free and works on most platforms, Apache is recommended for training purposes.
installation time: 2 days.
2, make sure you understand html/xhtml.
you will need to understand the
JS
A. Build JSP environment under Windows 2000
System environment:
1, operating system: Windows 2000
This example uses the software to download the address:
1), J2SDK1_3_0-WIN.EXE[29.4MB]
Http://java.sun.com/products/jdk/1.2/
2), JAKARTA-TOMCAT-4
js| Program
Are you often complained by customers that JSP pages respond very slowly? Do you think your Web application can withstand ever-increasing amounts of traffic when the number of customer visits is soaring? This article describes some of
js| Download
1. The most direct and simplest way is to place the file address directly into a link in the HTML page. The disadvantage is that the path to the file is exposed on the server, and no other controls (such as permissions) can be made on
js| Skills | chinese | Chinese garbled
In JSP, Chinese garbled often makes people utterly confused.
For the common countermeasures of Chinese processing, the following 2 kinds are often visible on the Internet:
Contenttype= "text/html;charset=gb2312"
The last component associated with the JSP syntax is called an internal object. Within the JSP small instruction file, you can access these internal objects to interact with the servlet environment that performs JSP Web pages. Many of the access to
Now it's time to put all the JSP syntax together. We will create a Web site with input format for users to enter stock tickers and get the current stock price (about 20 minutes delay). If there is an error, the error page is
js| Page Service-side method:
Response.setheader ("Pragma", "No-cache");
Response.setheader ("Cache-control", "No-cache");
Response.setdateheader ("Expires",-10);
%>
In the landing page and after the landing page to add this code can be
Note that
js| News | static | page | conversion
To automatically generate static pages, it is a good idea to intercept JSP requests with filter and preprocess them first to generate HTML automatically. An easy way to think of this is to redirect a servlet
js| Solutions | questions | Chinese
The recent use of JSP to do news release found that the rs.getstring () obtained by the string inside the space and the line of change are not shown,
First analysis of the reasons, I used the MySQL database, the
JS to build your first label
The following advanced guide describes how to extend a JSP to have its own HTML encoding capabilities. This encoding method replaces the HTML code with the symbols and is easily extensible to perform other coding
Js|servlet import java.io.*;
Import javax.servlet.*;
Import javax.servlet.http.*;
Import java.util.*;
/** shows the parameters sent to the servlet via either
* Get or POST. Specially marks parameters that have
* No values or multiple values.
*
*
js| Grammar
Gets the value of the Bean's property for display in the page
JSP syntax
Example
Calendar of
Describe
This element will get the Bean's property value and can be used or displayed in the JSP page. Before
js| Syntax HTML annotation
Displays a comment on the client.
JSP syntax
]-->
Example 1
Generate the same data as above in the client's HTML source code:
Example 2
-->
Displayed in the client's HTML source code as:
Describe
js| Dynamic Eight, technical analysis
Microsoft's ASP technology is also a dynamic web development technology. JSP and ASP form very similar, ASP programmer at a glance can recognize and . But there are a lot of differences that can be found in
js| syntax expressions
Contains an expression that conforms to the JSP syntax
JSP syntax
Example
.
Describe
An expression element represents an expression that is defined in a scripting language, automatically converted to a
JS Blueski Compilation
The following is a snippet code that demonstrates how JSP pages interact with the EJB session Bean.
Foo. Accounthome, Foo. Account "%>
Declare a "global" reference to a instance of the home interface of the session
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.