1. Add the hardcoded JSP text to the applicationresources. properties file respectively, and add the key-value pairs as an example (Label. Success = SEARCH success !), Put the applicationresources. properties resource file in the SRC folder (Remove
Web Server (software ): Apache HTTP Server. Replace nginx Web container: Tomcat,Http://tomcat.apache.org/whoweare.html, implementing JSP, Servlet,Provides an environment for JSP compilation and execution. Provides dynamic Web Services. However,
Project Environment:
From traditional operating systems to simplified operating systems. The tiles layout definition file contains dynamic files and static files.
Problem:
In the simplified operating system, the static file is displayed normally
Type = button is simply a Button FunctionType = submit is the sending form
However, people engaged in Web UI should note that using submit to improve the ease of use of pages:After the submit is used, the page supports the Enter key operation. Many
Jsp2.0 standardizes 13 attributes of page commands
Language = "scriptinglanguage"It mainly specifies the language used by JSP Container to compile JSP web pages. According to the JSP 2.0 specification, only Java languages can be used currently, but
Taglib command
Define a tag Library and the prefix of its custom tags.
JSP syntax
Example
..
Description
The "% @ taglib %" command declares that the JSP file uses custom tags, reference the tag library, and specify
1. in Tomcat's public settingsJSPOrg. Apache. Jasper. servlet. jspservlet........................JSP*. JspIt can be seen that *. jsp files are all requestsOrg. Apache. Jasper. servlet. jspservlet.
2. Next let's take a look.Org. Apache. Jasper.
Java has gradually warmed up in recent years. With the introduction of Java SE 5 and Java SE 6, the future of Java is even more brilliant. However, Java-based JSP has been unable to lift the header before Java SE 5 was launched. The most important
Note: The following are only personal tests and insights:EBS version: 11.5.10.2 Background: http: // . : /log on to EBS. The SSO logon interface is automatically redirected. However, Oracle EBS reserves a logon backdoor, http: // . : /oa_html/export
The basic principle is to use the setattribute () and getattribute () methods in the session to save and obtain a parameter.
1. create a web project under my eclipse, and create JSP files for two sessions in the default path, where session. JSP is
1. How to execute a thread-safe JSP?
A: You only need to add the following command:
2. What is the difference between collection and collections?
A: collection is an interface under java. util. It is the parent interface of various collection
Document directory
HTML tags and JavaScript tutorial
HTML tags and JavaScript tutorial
Operations on files in JSP
JSPFile Operations
JSPFile operations are very important. To describe the attributes of a file, you must useFileClass, its
Type 1: struts1.2 looping element. name indicates the result set. Reference tag library [Java]$ {X. u_id} $ {X. u_name} $ {X. u_sex} modify Delete
Type 2: struts2.0 looping element. Note: value is the result set. Reference the tag library
Put the MySQL driver package in my: e:/tomcat 6.0/lib and the corresponding project WEB-INF/lib folder.
1. Modify CONF/server. xml and add the following content (some parameters ):
Url = "JDBC: mysql: // localhost: 3306/databasename"Username = "XX"
Introduce tags
Then add
Enter attribute values, such as print, based on the actual situation.
This introduces the statistical report, followed by the parameter report.
Add
For example:
String Param = "cdytzt =" + cdytzt + "; cdyt =" + cdyt + ";
Four random numbers and messy background images are generated. The numbers and background colors change, and the server refreshes (with history. Go (-1)
Prototype reference Alibaba http://china.alibaba.com/member/showimage
------------ File for
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