JS
First, install JDK 1.4.2
Although the recent version of Jsk and JRE is 1.5.0, the company's developers are unified by 1.4.2.
the process of installing JRE and JDK is nothing to say, install with RPM package, fool will. Configure the
js|redirect|word| difference
1.requestdispatcher.forward ()
is on the server side, when using forward (), the Servlet engine passes HTTP requests from the current servlet or JSP to another servlet,jsp or normal HTML file, or your form commits to
JSP Common 7 Action instructions
1, Jsp:forward instructions
Performs a page shift and forwards request processing to the next page
2, Jsp:param instructions
Used to pass parameters
3, Jsp:include instructions
For dynamically introducing a JSP
The Chinese you want to output in the JSP is displayed as a question mark? This problem can be resolved by selecting Chinese in the search jsp,encoding option in Eclipse-windows-preferencesQuestion: JSP wants to output the Chinese to be shown as "?
Many systems now register, log in or publish information modules are added to the random code function, is to avoid automatic registration program or the use of automatic publishing programs.
The verification code is actually randomly select some
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| Code
In general, it is a bad habit to write hard code in a program, such as: this.state= "01"; The usual practice is to write a class (interface) to hold the constantspublic interface Systemconstant{String STATE_WTJ = "01";}
And then you can
js| Program | access
Sometimes you have to count the number of clicks for each article, and if you want to update the library every time you browse, that performance in the traffic is very large, the pressure on the server will be very large, a
js| Problem Blueski Compilation
(Editor's note: This article through the JSP and template engines comparison, prompts the current JSP some deficiencies. The latter is also a technology based on Servlets, some similar macro, can simplify the
Keyboard control in the js| page page
Capturing keystrokes
The corresponding keystroke is the basic interaction between computer and human. You can control the press and release of any one of the keys. First, let's start with
Know how to start a so-
Cookie|js
Package coreservlets;
Import java.io.*;Import javax.servlet.*;Import javax.servlet.http.*;
/** Sets six Cookies:three that apply* Session (regardless of how long, session lasts)* and three that persist for a hour (regardless of* Whether
Apache|js|servlet
(ii) Apache Server
1, double-click the Apache_1_3_12_win32.exe file for installation, install using the default configuration, the default installation directory is:
C:Program Filesapache Groupapache, I use $apache_root to replace
The JS example is just a simple login test.
The JSP invokes the action of struts and then invokes the DAO call in EJB,EJB in the action hibernate, using the JBoss database connection pool.
Database is MySQL.
The package has Test.sql
JS 5. Configuration of the basic environment
Many beginners in the configuration of the basic JDK environment encountered some problems, here to configure the basic environment of the method, if there is any incomplete, welcome to add.
General need
Does JS want to add a custom label to the JavaServer Pages (JSP) application? This tutorial will show you how to use these tags to write your own operations like JSP technology?? Like Jsp:usebean, Jsp:getproperty and Jsp:forward? Custom Actions.
JS these days of work mainly around the file (mainly pictures) upload, and can be online and HTML editor integration, easy to operate and the current reference online pictures similar. I have underestimated this matter, but it is also reasonable:
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