We all know that there are two types of include in jsp (the preferred choice for SUN Enterprise Applications ):
The former is a command element, and the latter is a behavior element. Where will they be used? How to use them? This should be a
Notes for actual operations:
The \ In the reg file cannot be changed; otherwise, the import will not be performed in the registry.Iis6.0 and tomcat (a good JSP running platform) can be configured successfully under 4.1.Port 9003 is actually the
The Excel report method is too simple. One method can only be used on the window platform (because jdbc-odbc bridge is used) and various formulas or methods in Excel cannot be used. Therefore, today, we will introduce an apache component called POI,
What is the difference between JSP and SERVLET in the application? Many people are confused. Let me say a few things. Simply put, SUN first developed the SERVLET, which has powerful functions and advanced system design. However, it still uses the
I. PrefaceFrom a website, I saw a code "webpage capture", which was a bit interesting, but did not provide the source code. So I wanted to write it myself. In fact, the code is relatively simple.Ii. CodeString sCurrentLine;String
Familiar with JSP serversThis "JSP from simple to deep" series of tutorials is intended for intermediate and advanced users and requires the basics of HTML and Java. You should connect HTML webpages together and use Java for programming. If you do
In a web application, if you directly store the result set ResultSet rs in the session or reueest range,
It can be passed to jsp (the preferred choice for SUN Enterprise applications) and displayed,
However, it should be considered that if a large
1) HTML comment:You can use comments or expressions.2) Hide comments:Annotations will be ignored during jsp compilation (the preferred choice for SUN enterprise-level applications). The compiler will not compile the statements between them and it
The most annoying part of my learning about JAVA is the configuration of various development tools. Today I will introduce the configuration of servlet IN THE NEXT jsp (first choice for SUN enterprise-level applications.
Use the editplus + tomcat
First, let's talk about environment configuration. Note that the environment I configured is under win 2000 server, not linux. The general configuration process is irrelevant to the operating system, there is only a difference in the specific
Declare valid variables and methods in JSP programsJSP syntaxExampleDescriptionDeclare the variables and methods you will use in the JSP program. You must do the same. Otherwise, an error will occur.You can declare multiple variables and methods at
1. Installation
1. Install JDK first. Take the Windows NT environment as an example. The downloadable version of JSDK is an installable compressed file that provides a complete Java development environment, this allows you to build a Java solution
Question #3: simple work is still tiring
Even a very simple job, such as header and footer, is still very difficult in JSP. Assume that a "header" and a "footer" template are included on all pages, and each template must contain the current page
In this article, we will introduce the storage and operation of structured objects in db4o, and first introduce the diversity relationship. In the diversity relationship, the object contains fields in the form of object sets. Db4o can easily process
Register. jsp (preferred for SUN Enterprise applications)
---------------------------------------------------------------------------------
File: // global variable definitionGlobalTableName = "bbs_users ";ParentKey = "BBS user information
1 HelloWorld Example--------------String Msg = "This is a jsp (preferred for SUN Enterprise Applications) Test ";Out. print ("Hello World ");%> // The Java module declares Msg as a string variable.-------------- // output variable2. Display
is equivalent to static compilation to the same page, such as content-type.Otherwise, errors such as duplicate inclusion will be reported, and itself should be equivalent to two independent page units that do not interfere with each other,
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