The front-end implementation with Ligerui implementation of pagination, feel the framework is indeed simple, idle boredom, simulation of the Liger Interface implementation of the page (as long as the function, style what disregard)
Here with the
Js
JSP basic articles have a lot of, but still have a lot of friends asked me to get started JSP some related issues. So simply to write their own installation process,I often use ghost to restore the system, after recovery, no JSP running
In a JSP page to achieve a two-level drop-down box linkage, real-time reading of database data, this method is very useful, only need to modify a small place can be used. The design of the document, Serch.jsp,main.js,bytetostr.js,
First, let's talk
js| page
First, I'll discuss the Httpconnection interface, which can be used to establish an HTTP connection
Httpconnection interface
Connected Limited Device Configuration (limited connection device configuration. Referred to as CLDC). Provides a
JS often see JSP beginners ask Tomcat How to configure the JSP, servlet and bean issues, and then summed up how Tomcat configuration jsp, servlet and Ben, want to help those beginners.
I. Development environment Configuration
Step one:
js|session| Basic Tutorials
Term session
In my experience, the term "session" is probably second only to transaction, and it is more interesting that transaction and session have the same meaning in some contexts.
Session, Chinese often translated
js| Dropdown | page
In a JSP page to achieve a two-level drop-down box linkage, real-time reading of database data.
In a JSP page to achieve a two-level drop-down box linkage, real-time reading database data, this method is very useful, only need to
js| Server
Read data on one line
file Read String Path=request.getrealpath ("");//Get the path to the current directoryFileReader fr=new FileReader (path + "\\file\\inc\\t.txt");//Create the FileReader object and instantiate it as FRBufferedReader
Js|sohu| News System I just finished a similar system in two days, hoping to discuss the technology of JSP implementation.
Sina Sohu Such a system should be similar, is the background dynamically generate foreground HTML page, no matter what tool
JS first part, HTML form
Divide and Cure
One of the best features of JSP is the ability to break the project into components. This messaging tool also has these features, and our components include:
An HTML form that is used to post an email
js| Pagination | data | show | page
In a page, when there is a lot of data to retrieve, it is often necessary to display the data in pagination and to make the paging.
Here are some routines to illustrate the implementation of JSP page paging
js| Question (Editor: When the original text of this article first appeared abroad, JSP is just a budding technology, and not as it is now. Now it seems that some of the ideas of this article may have some limitations, but I have to admit that this
Js|servlet use JSPs and servlet to Upload file to server is becoming
Common task now.
Below is a simple example use the Jspsmart free component which
Implements it.
Can download the free package from Jspsmart
1. Html File
action=
Iis|js Preface: Before also read n document, follow inside the description configuration, but always did not succeed, today finally succeeded!!! Come back and look at those documents, a lot of direct CTRL + V CTRL + + (also does not explain the
js| Standard | tutorials | templates | Getting Started Tutorial JSTL Tag Library
Jstl is often considered a single label library. But Jstl actually has 4 tag libraries. These tag libraries are summarized as follows:
Core Tag Library? Contains the
Js|servlet| page | Auto Jump JSP has a directive that defines the JSP's error page and jumps to the page output error when this JSP page goes wrong
Log. Examples of the following:
The errorpage.jsp code looks like this:
.....
....
Output error Log
JS because of the change in the relationship between the version, this article may not be universal
Before reading this article, you should read Sun's article and try to practice it.
http://java.sun.com/developer/technicalArticles/xml/WebAppDev3
Tomcat
1, with WinZip, such as decompression software to Tomcat.zip to a directory, I unzipped it to C:\, it will automatically create Tomcat subdirectory, so in C disk on a more directory c:/tomcat, I use $tomcat logo;
2, open the
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