First, JSP
1. JSP (Java Server Pages), like the Servlet technology, is a technology defined by SUN to develop dynamic WEB resources.
JSP technology allows you to nest Java code in a page, and allows developers to get Web-common objects such as
myeclipse6.0 Open JSP file error, please check the location and try again. Posted on 2010-01-13 21:53 Breakpoint Reading (77) Comments (0) Edit Favorites Category: Eclipse
I encountered a problem when using the myeclipse6.0, search on the internet,
First, JSP connection oracle8/8i/9i database (with thin mode)Testoracle.jsp is as follows:String url= "Jdbc:oracle:thin: @localhost: 1521:ORCL";ORCL for the SID of your databaseString user= "Scott";String password= "Tiger";Connection conn=
CKEditor Environment, please refer to the introduction of CKEditor3.6 tutorial in JSP
JSP pages submit form data using Rich Text control CKEditor
JSP pages use Rich Text controls CKEditor custom styles
JSP uses CKEditor and Ckfinder to implement
CKEditor Environment, please refer to the introduction of CKEditor3.6 tutorial in JSP
JSP pages submit form data using Rich Text control CKEditor
JSP pages use Rich Text controls CKEditor custom styles
JSP uses CKEditor and Ckfinder to implement
Corresponding source code: http://download.csdn.net/source/889495
Fck
Editor
The language of the control is adjustable, and there are two ways to adjust it.
First of all, set up a JS file myconfig.js, here I put it in
WebRootDirectory.
I. Introduction of Labels
In fact, we have used a few tags in the JSP, such as , , these tags are predefined, if we need to customize the label, we need to learn the label programming.
The advantage of label programming is flexibility +
First of all, Struts.xml. If you want to restrict the type of upload file, you can configure an interceptor:
image/bmp,image/png,image/gif,image/jpeg
Single File Upload jsp:
Single File Upload
Learn the Java EE I do not know is right is wrong, every day in a disorderly thinking, I do not like the language is not particularly fascinated by the language, the only thing I can be excited is those so-called hackers, oh, this is also I have
A simple exercise, nothing to do with the foreground, using recursion, parameter transfer, database operations, session and character encoding conversion.
Of these, two major problems took some time:
The GetRow () method for a 1.ResultSet object is
JSP is essentially a servlet,jsp compile is a "class servlet"
When a JSP server compiles a JSP page, it first writes a servlet to parse the JSP page content, using to turn it into a servlet, a Java class
To access the JSP by file name, where the
Declare the DOCTYPE that suit your needs.
Looking at the original code, you can see that the first line is:
3C//DTD XHTML 1.0 transitional//en ""Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
Open some of the standard sites, such as the
Plugins: Ajaxfileupload.js
Jsp:
1, the introduction of the JS
2, write an input. For example
3, write the upload JS
Page Upload JS complete, now is the background
Next to my background part of the business, every day uploaded pictures are
First spit, I stepped on a lot of pits, tears, ah, because not familiar with Maven, there are eclipse bugs, online article information asymmetry ... Well, back to the point, we need to be like this: A project is made up of multiple projects.
There are two common ways to jump pages using JSP1. Forwarding:forward action ID with execution request forwarding
jsp:forward page="6-5-login.jsp" >jsp:forward>
2. redirect redirect using the Sendredirect () method of the
Javaweb and JSP page Interactive process javaweb project directory2. JSP page is generally decentralized in the top (front page) back (background page)3. Backstage code is placed below SRC, divided into:1. DAO layer (database-related)2. Domain layer
JSP enterprise interview questions (5)7-2 illustrates how JDBC works and lists common objects. (Enterprise pen exam)
Establishing a connection is to establish a connection with the database, that is, to create a connection instance. The
A: condition must download Sun's javamail API package, address: http://java.sun.com/products/javamail/
I use version 1.2 here and add the relevant package (JAR file) to classpath.
II. This program is very simple, and we don't need to consider a lot
I. jsp connection to oracle8/8i/9i Database (in thin Mode)
Testoracle. jsp is as follows:
String result = ""; // query result stringString SQL = "select * from test"; // SQL string// Connection string. Format: "JDBC: Database driver name:
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.