First, the preface
For starters, it's a good choice to implement JSP and Servlet,tomcat. Tomcat is a product of the Apache organization, and Sun's support for it is pretty good.
Second, download, install
Download address for Java official site:
First, the preface
For starters, it's a good choice to implement JSP and Servlet,tomcat. You can also use resin, these two products can not spend a penny. Resin's support for XML is good.
Second, download, install
Download address for Resin
(Author: Small Longting main Blueski compiled December 22, 2000 14:22)
(Continuation of the article)
Problem #3: Simple work is still tiring
Even simple work, such as header and footer, is still difficult in JSP. Suppose you have a "header" and a
Author: pudding
1. Download jdk1.3 and Tomcat;
2. Installation jdk1.3 and decompression Tomcat to C: the packing directory;
3. Go to Tomcat's directory, find Startup.bat file, and open edit.
Precede row call Tomcat start with two lines:
Set
The example of this article describes the method of removing blank lines by JSP programming. Share to everyone for your reference, specific as follows:
JSP because of the introduction of package commands and other processing, rendering the page
This article is an example of a JSP through a custom tag library to achieve a list of data display methods. Share to everyone for your reference, specific as follows:
1. Define tag Library class Userlisttag.java
Package
The examples in this article describe a simple pagination example of a JSP implementation. Share to everyone for your reference, specific as follows:
my JSP ' page01.jsp ' starting page " method= "Post" Name= "Form1" > ) > ) >
This article illustrates a simple way for JSP to connect to a SQL Server2000 database. Share to everyone for your reference. Specifically as follows:
Package util;
Import java.sql.Connection;
Import Java.sql.DriverManager;
public class Conndb
This article illustrates the method of struts2+jsp file uploading. Share to everyone for your reference. Specifically as follows:
1. Java Code:
Package com.wang.test;
Import Java.io.InputStream;
Import
First, the preface
For starters, it's a good choice to implement JSP and Servlet,tomcat. You can also use resin, these two products can not spend a penny. Resin's support for XML is good.
Second, download, install
Download address for Resin
Jsp-hitcounter counts sessions.
Copyright (C) Jesper Schmitz Mouridsen.
Visit Www.webappcabaret/jsm2/webapps.jsp?find=jsphcs for more info.
This are free software; Can redistribute it and/or modify it under the terms of the GNU general public
Package coreservlets;
Import java.io.*;
Import javax.servlet.*;
Import javax.servlet.http.*;
Import java.util.*;
/** shows the parameters sent to the servlet via either
* Get or POST. Specially marks parameters that have
* No values or multiple
Package coreservlets;
Import java.io.*;
Import javax.servlet.*;
Import javax.servlet.http.*;
/** simple servlet that generates HTML.
*
* Taken from Core Servlets and JavaServer Pages
* FROM Prentice Hall and Sun Microsystems Press,
* http://www.
This article illustrates the method of Jsp+ajax to upload files without refreshing. Share to everyone for your reference, specific as follows:
List page: selectaddress.jspJS Page: Ajax_edit.jsJSP processing page: editaddress.jspUpload Tool class:
The example of this article describes the JSP simple implementation of information sharing between pages of the method. Share to everyone for your reference. Specifically as follows:
This demonstrates that the JSP parent page Gets the configuration
This article illustrates the implementation method of JSP paging display. Share to everyone for your reference.
The implementation methods are as follows:
Copy Code code as follows:
"
Article Management
--
Hide Annotations
Write in the JSP program, but not to the customer.
JSP syntaxExample:
Copy Code code as follows:
a Comment test
a Test of Comments
Describe
Characters marked with hidden annotations
Requirements Description: Two JSP pages, the parent page needs the content of the child page, but the child page is hidden, specifically, the child page is a series of templates, the parent page to get through the ID of these templates, do not want
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