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
Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"Xsi: schemalocation = "http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"Version = "2.4"> how-to on JSP configuration JSP configuration Property Group for common configuration for all the JSP's
Too depressing. A new Tomcat 6.0.20 is installed, and a 404 exception is found in it.ProgramIt cannot always run.CodeI copied it from another code in use. The Code is as follows:
"/>
Of course, the key in it can be used normally.
So
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
There are four types of elements in the server. xml file.
1. Top-level class Elements
Including and , which are located at the top layer of the configuration file.
2. connector Elements
It represents a communication interface between the
Tomcat directory structure
Note: The lib directory stores jar files, where:
Server/lib: jar files in the directory can only be accessed by the Tomcat server
Shared/lib: accessible to all web applications
Common/lib: accessible to Tomcat
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
Myeclipse sets the default open mode of JSP
In web development, we encounter a very depressing situation when editing JSP. Without any default settings, we use the default system open mode, when we double-click to open the JSP page, we will feel
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
FCKeditor is an open-source project on sourceforge.net. It mainly implements the online web editor function and enables web programs to have powerful editing functions such as MS Word. Official Website for http://www.fckeditor.net, server support
Recently, I received the source code of a project. After the deployment, I opened the page and found that the El expressions on the JSP page were not parsed and displayed as they are.
I searched the internet for the reason. It turned out to be a
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
JSP + SQL2000 Development Environment installation and configuration
I. Software preparation
Java Runtime Environment jdk1.4.1: install the software j2sdk-00004_000001-windows-i586.exe
JSP server tomcat5.5: install the software
The course "JSP Application Design" is finally completed. Although the question is a bit difficult, I think most of the students can still take the test. I should be able to get a satisfactory score when calculating the average score. Once again, I
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.