Data save, update, and delete:
1, Session.save () method:
The Session.save () method is used for persistent storage of entity objects, which means that when the Session.save () method is executed, the corresponding insert SQL statement is generated,
Ajax|js
This example uses JSP + Ajax + text to demonstrate multiple selection, select all, add, delete, update checkbox multiple Marquee effect, fully demonstrates the use of JavaScript to control the HTML DOM and the use of XML HTTP to pass data,
On the server side to determine whether the form is repeated, the main consideration in the page through the session to share the flag variable method to achieve, that is, in the client page set session in the flag variable, and then in the server
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
Js|server JavaServer page (JSP) is a java-based technology for generating dynamic Web pages that support Cross-platform, cross Web servers.
The JSP can be compared to Microsoft's active Server page, but it uses HTML-like markup and Java code
JS in the PWIN98SE environment, I use JSP operating environment for JSWDK-1.0.1 and JDK1.3, to http://java.sun.com to download. JDK1.3 installation process is very simple, JSWDK1.0.1 no need to install as long as the decompression can be. Then
js| Tutorial | Page JSP using the JSP forward action to achieve the page's jump function.
Grammar:
}" /> or
}"
Value= ' {parametervalue|} '/>+
This action allows you to move the request to a different page. It has only one
js| Tutorial
JSP Overview
JSP (IAVA SERVER pages) is a dynamic Web page production technology developed by Sun Company in the Java language that allows you to separate the dynamic parts of a Web page from the static HTML. You can use tools that
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| Comparison | tips | page
There are approximately three ways to jump using JSPs:
1. Response.sendredirect ();2. Response.setheader ("Location", "");3.
Some of the following rules have been tested:
I. Response.sendredirect ()
Out.flush () is not
1 Preface
People who do Java development may know that there are two ways to introduce other files in a project in a JSP
We may use both approaches, but perhaps many people do not name the difference between the two ways. Let's take a look at
Custom tag library is not JSP 2, JSP version 1.1 has added a custom tag library specification, custom tag library is a very good performance layer component technology. By using a custom tag library, you can encapsulate complex functionality in a
You will need the Java 2 Software development tool (JSDK), its original name is the Java development tool (JDK) and the JavaServer Web site development tool (JSWDK), Tomcat, or other Web servers that support JSP. Sun offers free jsdk and JSWDK for
Page directives
Page directives are important in JSP development, and you can use this property to define the properties of a JSP page, including setting MIME types, defining packages to import, specifying error pages, and so on.
Syntax for page
The first is to generate the verification code:
Package XX. XxImport java.io.*;Import java.util.*;Import javax.imageio.*;Import java.awt.*;Import java.awt.image.*;public class imageensure ... {Public Imageensure () ... {}Private char maptable[] = ..
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
(ii) Apache Server
1, double-click the Apache_1_3_12_win32.exe file for installation, install using the default configuration, the default installation directory is:
C:\Program Files\apache Group\apache, I use $apache_root to replace the
Now have a lot of novice JSP users will often ask the database how to connect ah, how old mistakes ah? So I concentrated in this write an article for your reference, in fact, this database logic all put in the JSP may not be a good practice, but is
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.