Each time the JSP engine checks whether the JSP is changed by default, if the system is released online, this function will affect the performance, we can use the following we B. the configuration in XML allows the JSP Engine to work in the product
Chinese Garbled text is the most annoying issue in JSP. The four methods on the Internet may be useful or undesirable. The so-called modification of Sever. XML is the most undesirable. Most of them are for tomcat6.0 or earlier versions. I think the
I saw a post today and asked questions about application/pdf. I tried it by myself.
The details are given belowCode
Add mime information to the Web. xml of the project (you can manually change it to another format, such as word)
pdf
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
Event-driven Web journey-Integration of JSP and JavaScript (this article is dedicated to all programmers who use Delphi). Before that, let me write a sequence! I love Delphi deeply and cannot extricate myself. However, I also saw that B/S is the
When I deployed a test environment for the test group for the first time, I encountered a lot of problems. Almost all the pages could not be opened. The result showed that WebLogic was very strict with JSP verification, an error is reported when an
Level 3 in total. Select Department Division through the department and speciality through the department.
Rs = mydao.exe cquery ("select * from Department ");I = 0;For (Rs. Next ();! Rs. isafterlast (); RS. Next (), I ++) {%>">
After
Excel is one of the common office software. In a Java application, generating part of the data into an Excel format is an important means of seamless connection with other systems. Poi is a sub-project of Apache Jakarta. It is easy to use, supports
: redirects an HTML file, JSP file, or program segment.
JSP syntax"}/>Or"}>}"/> +
Example
Description the tag transmits a request object containing user requests from one JSP file to another.
the code below the tag cannot be executed.
You can
JSP generates image Verification Code 1. Create a JSP page (image. jsp) and copy all the following code to image. jsp.
Color getrandcolor (int fc, int BC)... {// obtain the random color in the specified range.
Random random = new random ();
If (FC>
Link: http://my.oschina.net/hunterli/blog/39767
Problem description:By default, the JSP compiler uses the 1.3 specification to compile JSP files.JSP, compilation will fail
Answer:
To ensure that your JSP is correctly compiled, add jdksourcelevel to
The following describes how to pass parameters between pages in JSP.
1. Add directly after URL request
For example, directly passing parameters
When using response. sendredirect for page redirection, you can also use the following code:
Response.
For beginners, Flex is used to write an example of interaction between flex (through urlloader) and the background to solve noon garbled processing:
This is the code for Flex. jsp:
String USR = java.net. urldecoder. Decode (request. getparameter ("
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
I used to use eclipse in the past. I tried myeclipse this weekend, but I encountered a problem when I used it.
Tomcat can be started normally, and the index. jsp that comes with the new project can be displayed normally, but other JSP pages cannot
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
Before actual development, it is necessary to understand some basic theories of web development.1. url, urn, UriURL: Uniform Resource LocatorURN: Uniform Resource NameUri: Uniform Resource IdentifierURL: describes how to obtain Internet Resources in
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
Subject:
Share my JSP Chinese character processing experience (original) by the way)
Author:
Joyous (null)
Level 1:
Reputation value:
99
Community:
Java Web Development
title
author
email
Node node = (node) pagecontext. getattribute ("nodevalue ");
Property titleprop = node. getproperty ("title ");
%>
">
Use the node variable in foreach:Use to set the variable "Node" to pagecontext, and
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