Reproduced from: http://www.cnblogs.com/petermsdn/archive/2011/05/06/2039178.html
Velocity is a Java-based template engine (template engine). It lets the designer of the view refer to the Data Objects and commands defined in the Java code in the
Turn from: http://blog.chinaunix.net/uid-28794959-id-3773177.html
From Excel to database, introduce Poi.jarJSP is as follows
Click (here) to collapse or open Bulk Upload: servlet is as follows
Click (here) to collapse or open package control;
Today, when you use Maven to write SPRINGMVC, you encounter a problem when you deploy to Tomcat:
Java.lang.noclassdeffounderror:javax/servlet/jsp/jstl/core/configAt Org.springframework.web.servlet.support.JstlUtils.exposeLocalizationContext
First step: Download J2sdk and Tomcat: to the Sun official site (http://java.sun.com/j2se/1.4.2/ download.html) Download J2SDK, note that the download version of the Windowsofflineinstallation SDK, while it is best to download j2se1.4.2documentation,
(i) Get the files and directories in the current directory
Knowledge points
1 Application of the file object2 Listfiles () method3 Isdirectory () method, Isfile () method to determine whether a directory or file4 Conversion String Method
Compared with the traditional Client/server model database system, the Web database system adopts the three-layer browser/server structure (that is, the network browser/web server/database server structure), which has great advantages. The Web
Data sharing between JSP and servlet (data passing and invocation of data) (1) JSP (page) passes data to the servlet in the most common way: using form parameters or URL hyperlink parameters to implement data delivery (previously mentioned).
(2)
There are many places in the java/jsp to use the operation of the file, file operation is very simple, the following list of some common methods of file operation
JSP file operations commonly used methods:MkDir () method is used to
1, post submission data is implicit, get is passed through the URL (you can look at the address bar of your browser), used to pass some data that do not need to be classified.
2. When using get, the size of the transmitted data is limited (note
Colleagues have developed a Firefox plugin, used to read card information contactless card, but the page will not call, after the data found in fact quite simple, that is, more pits.
Testing
embed is the loading of Plug-ins, Getcard () is
Write servlet, write JSP, write JavaBean program jobThe Servlet+jsp+javabean model is suitable for developing complex web applications in which the servlet is responsible for processing user requests, and the JSP is responsible for data collection
I imported a MAVEN project but the JSP page has been an error, I first follow the online experience to operate the following steps:Add dependent dependencies on Javax.servlet in the Pom.xml configuration file: javax.servlet servlet-api
I. INTRODUCTION of JSPJSP (full name Java Server pages) is a technical standard created by Sun Microsystems and many companies involved in creating a Web page that enables software developers to respond to client requests and dynamically generate
There are three types of directive tags in the JSP-
Serial Number
instruction
Description
1
Defines page-related properties, such as scripting language, error pages, and buffering
Related information:"21-Day Learning Java Web Development"Response ObjectImplement page Auto-jump1. You can use the AddHeader () method of the Response object to add a header titled Refresh, and specify the page jump time and jump page to achieve
I can see some netizens mentioned this problem and asked for more information. In fact, both of these questions have positive answers, but it is best not to do so.
If all the objects in the session are serialized, you can pass httpsession as a
Myeclipse sets the default encoding method for JSP pages:
Windows-preferences-myeclipse-files & editors-JSP-encoding on the right: Set to iso000046/Unicode (UTF-8)
In the Java file, myeclipse sets the author, date, and other instructions:Windows-
Nine objects:
Built-in object (also known as implicit object, with nine built-in objects): You can use it in script code and expressions without pre-declaration.
1-out:
Javax. servlet. jsp. jspwriter type, representing the object of the output
The JSP page consists of the following elements: l static content. The static content is the static text in the JSP page. It is basically HTML text and has nothing to do with Java and JSP syntax. L command. JSP commands generally use " ". L
Article Source: http://www.blogjava.net/freeman1984/archive/2010/06/01/322465.html
Source:Http://blog.csdn.net/yzhz
I. Problems:The coding problem is that Java beginners often encounter problems during web development. There are also a large
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.