Web Server (software ): Apache HTTP Server. Replace nginx Web container: Tomcat,Http://tomcat.apache.org/whoweare.html, implementing JSP, Servlet,Provides an environment for JSP compilation and execution. Provides dynamic Web Services. However,
How to ensure that the table or Div does not change the size because the form is inserted?
I. Problem description: in JSP/html, after a form is inserted into a table or Div, the table or Div increases, affecting the original layout.
Ii. Method
1. Download The JDBC driver of sqlserver2000Program. This driver is available at the Microsoft Site: Window Operating System Http://www.uncj.com/upload/files/ms_jdbc_setup.exe Http://download.microsoft.com/download/3/0/f/30ff65d3-a84b-4b8a-a570-2
The first is JSP pages and scripts.
This is a common function to check whether a user name exists.
Struts is used here.
Ajax ') "/>
The user name is not obtained on this JSP page. you can change the span parameter. For more information, see .
The
1. Traditional Chinese conversion tools
Classes used to process conversion between gb2312/big5 characters. You can search for them online.
2. Filter Interception Method
public class FileCaptureResponseWrapper extends HttpServletResponseWrapper ...
We know that XML + XSLT can be directly output
Supported
XML browsers, such as IE 5.0 or above, but we also need to consider that many Browsers Do not directly support xml. In this case, we need to convert the file to HTML and output it to the
Download necessary files1) download Jakarta-taglibs:Http://people.apache.org/builds/jakarta-taglibs-sandbox/nightly/Extract the taglibs-image.jar and place it in/WEB-INF/lib.Copy taglibs-image.tld to/WEB-INF/2) download poor man's imaging wrapper:
When running a self-configured web application, you can only view the class file compiled by weblogic.
You cannot see the java files before compilation. For debugging convenience, we sometimes want to see the java files before compilation.Add to
The TTP protocol is stateless, that is, information cannot be transmitted through the HTTP protocol itself. ASP applies the session object to track the user's operation status. JSP uses an object called httpsession to implement the same function.
First:Introduce the include command of JSP into external filesJSP code
"../Common/head. jsp"%>
Purpose: When page elements are loaded, external page elements are loaded together, which may affect the page loading efficiency.Second:Struts label
In websphere, after modifying the JSP page, refresh does not take effect. solution:
Every time the JSP file modified in WebSphere is refreshed on the front-end page, it still does not take effect, or the previous status is not changed. Even
First:
Second:
Third:
Fourth:
Category 5:
Sixth:
Servlet jump --> request. getrequestdispatcher ("/WEB-INF/pages/error. jsp"). Forward (request, response );
7:
Because the above redirects are all under webroot, or the complete URL address is
Ordinary users can browse products by category through the system)
Ordinary users can search for products by category, price, date, etc)
Ordinary users can place orders through the system (enjoy market price)
Ordinary users can register as system
When using the jetty plug-in (6.1.9) for debugging, we found that accessing #{...} When the expression page (the template expression is used on the page), the following exception is thrown: Java code
Org. Apache. Jasper.
Introduce tags
Then add
Enter attribute values, such as print, based on the actual situation.
This introduces the statistical report, followed by the parameter report.
Add
For example:
String Param = "cdytzt =" + cdytzt + "; cdyt =" + cdyt + ";
JX, reprinted. Please specify the source. If any, please point out
Mm. MySQL is a MySQL JDBC driver of type 4 (pure Java) that complies with JDBC 2 specifications. The current version is 2.0 pre 5 (Beta)
You can download the latest driver from http:/
(1) Add
For example,
When using response. sendredirect for page redirection, you can also use the following code:
Response. sendredirect ("thexuan. jsp? Action = transparams & detail = directe "), which can be obtained by request. getparameter
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.