I. Problems Found
Run the JSP page referenced by jstl
Error Reporting http://java.sun.com/jsp/jstl/core cannot be resolved in either web. xml or the jar
Ii. Cause Analysis
Possible 1: version issues
Jstl1.0 declaration is: Jstl1.1
Part 1: items created by default in JSP files.
Take myeclipse8.0 as an example to create a new JSP file. The following code is created by default.
"> My JSP 'index.jsp' starting page --> This is my JSP page.
Line 3
. The presentation layer of JSP/jsp bean should be as thin and simplified as possible.
. Remember that most JSP pages should be read-only views, and the page bean provides the model.
. JSP and JSP bean should be designed together
. Remove the
There are many algorithms for implementing the tree structure of the Forum. For details, you can go to www.chinaasp.com for full-text search. My current JSP Forum uses one of the following algorithms: Tree Structure algorithms are not implemented
1. Introduction
Management Information System (MIS) is a system composed of people and computers that can collect, transmit, store, process and use information. With the development of science and technology and the expansion of information,
The following is the directory of the servlet & JSP blog series:
Servlet & JSP: Web technology, Servlet, servlet container, Tomcat (installation and configuration, directory structure, startup analysis, Architecture)
Servlet and JSP (2): Main
Parameters passing between JSP pages is a feature that is frequently used. Sometimes, parameters passing between multiple JSP pages are required. The following describes the implementation methods.
(1) Add
For example, directly passing parameters
Page jumps can be achieved in two ways: Forward and sendredirect.
Forward: it can be used in JSP pages and implemented in servlet.
Use On the JSP page. For example, to jump to userlist. jsp, you can write:
Use the forward method of
JSP generate WORD Documents[Date: 2006-12-18]
Source: http://www.gs008.com/blog/blogview.asp? Logid = 324
In the web-OA system, document management seems indispensable. Sometimes some data needs to be queried from the database and output in a
Three JSP pages: page1, page2, and page3The page2 page is obtained through page1 query, and the page3 page is obtained through the link of the page2 page.Back now. When page3 is back, delete the following script in page2; otherwise, the page will be
First, download the tool:I suggest using editplus + JDK for beginners. I think it is easier to use editplus + JDK for beginners, such as JB, eclipse, and jcreator, but it does not know how to configure environment variables for beginners,Thus it is
When Using JSP in multiple languages (Chinese, Japanese, and English supported), I use editplus
Replace
Then an error is reported during running:
Java. Io. charconversionexception: Illegal utf8 Encoding
At first I thought the UTF-8 was
1. Search for db2java.zip and rename it db2java. JSR to the common/lib directory of Tomcat installation.
(2) create a database test in DB2. Table users (3) run the JSP code.
// Testdb. jsp% @ PageImport = "Java. SQL .*"
Import = "Java. util
[From] http://developer.51cto.com/art/200907/140294.htm
==> Connection and difference between JavaScript and Java
JavaScript is similar to Java syntax, but similar to C and Java syntax. But it is not the Java prefix of JavaScript that expresses
Roles played by JSP in JSF
Learn how to use JSP with JSF
SummaryIn this excerpt from assumerver Faces in Action (Manning, November 2004), the author Kito Mann explains how JSP works with JSF (1,800 words; December 13,200 4)
JSF applications require
The simplest syntax for jsp: useBean actions is:
The meaning of this line of code is: "Create an instance of the class specified by the class property, and then bind it to the variable whose name is given by the id property ".
In this case, the jsp:
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