JS you will need Java 2 Software development tool (JSDK), its original name is Java development tool (JDK) and JavaServer Web site development tool (JSWDK), Tomcat, or other support JSP network server. Sun offers free jsdk and JSWDK for Windows,solaris, and Linux platforms for use.
If you want to use JSP on your current Web server, but the server itself does not support
Detailed process of converting JSP into Servlet, and converting jsp into servlet
Many people think that the execution performance of JSP is much different from that of Servlet. In fact, the difference in execution performance is only the first execution. This is because after the first execution of JSP, it will be comp
Statement: most of the content of this courseware comes from Yi xiangyi Zhang yueping, "JSP practical tutorial (2nd )".
1. What is JSP?
JSP (Java Server Pages) is a web application development technology based on the Java language. Using this technology, you can build secure and cross-platform advanced dynamic websites. Today, many famous web sites use
[Servlet JSP] From JSP to Servlet
JSP and Servlet are both sides of the Integration. JSP will eventually be translated into Servlet Source Code by containers, automatically compiled into. class files, loaded into. class files, and then generated Servlet objects.
The Servlet class after container translation has method
Js
First JSP
In fact, the JSP simply puts Java in the HTML page. You can change the existing HTML page extension from ". html" to ". JSP", which is the best way to create the first JSP.
We can change its extension from ". html" to ". JSP" by the file in the previous exer
Solution for garbled JSP Chinese characters display, jsp garbled
Solution to JSP Chinese display garbled Problem
I. garbled characters on the JSP page
2. garbled characters appear when the form is submitted to Chinese
Iii. Database Connection
Chinese garbled characters often occur during
JSP entry: What is jsp?
JSP (Java Server Pages) is a dynamic web page technical standard proposed by Sun Microsystems and jointly established by many companies. Insert the Java program segment (Scriptlet) and JSP tag in the traditional webpage HTML file (*. htm, *. html) to form a
1. Parameter passing when jumping from one jsp page to another jsp page
(1) Use the request object to get the information submitted by the client
The login.jsp page code is as follows:
The getinfo.jsp page code is as follows:
(2) use the session object to get the information submitted from the client
The session1.jsp pa
First, JSP action
Action is a special tag that enables the effect of multiple lines of Java code implementation through an action tag. You can insert files dynamically, Reuse JavaBean components, guide another page, and so on.
The action element differs from the instruction element in that the action element is executed dynamically at the request of the client and may be executed once each time a client request is performed, and the instruction elemen
Js| compiled in WebLogic Publishing Web Application project, in order to protect JSP files to avoid unauthorized access and peep, you can use WEBLOGIC.JSPC JSP file precompile into a servlet file, put to Web-inf The/classes directory. Based on the servlet declaration, Web-inf is not part of the common document tree for WEB applications. Therefore, the resources under the Web-inf directory is not directly se
1. Custom tags: Java classes that implement specific interfaces and encapsulate predefined behaviors written in Java code.
* During runtime, the tag is replaced with the corresponding predefined Java code.
* The JSP custom tag provides a method to replace simple JavaBean and Java scripts.Better yet, a set of standardized User-Defined tag libraries already exist in jstl.
* The purpose is to separate the business and presentation logic, and the code is
JavaWeb Learning (1) ---- JSP introduction and entry-level (including Tomcat usage), javaweb ---- jsp
[Statement]
Reprinted, but keep the original source of the article → _ →
Life One: http://www.cnblogs.com/smyhvae/
Source: http://www.cnblogs.com/smyhvae/p/4046862.html
Contact: smyhvae@163.com
[Preface]
JSP itself is a Java Web knowledge, but when learning Andr
I. INTRODUCTION of JSPThe full name of the JSP is the Java Server Pages,java server-side page, which is simply a simplified servlet design that implements HTML tags for use in java. JSP is a dynamic Web page technical standard, which is executed on the server side.Second, the common Dynamic Web site development technologyCommon Dynamic Web Development technology comparison:Java EE comparison is suitable for
Java Web Learning ---- introduction to JSP and getting started (including Eclipse for Java EE and Tomcat configuration), JavaWeb ---- jsp
[Preface]
JSP itself is a Java Web knowledge, but when learning Android network, it must involve interaction with the server. Therefore, it is necessary to learn JSP and other JavaWe
Code that previously interacted with the servlet and JSP
Example of a servlet code:
JSP code example:
What if the property is not a string but a bean?
A simple javabean.
Example of a servlet code:
JSP code example:or write this:
Do not appear in the JSP script
One, custom Tags: Java classes that implement a specific interface encapsulate the predefined behavior written by Java code.
* At run time, the label is replaced with the corresponding predefined Java code.
* JSP Custom tags provide a way to replace simple JavaBean and Java scripts.Better yet, there is already a set of defined standard custom tag libraries in JSTL.
* The purpose is to separate the business from the presentation logic, the reusability
A brief analysis of the basic syntax of the JSP getting started tutorial and a brief analysis of the jsp getting started tutorial
This article describes the basic JSP syntax. We will share this with you for your reference. The details are as follows:
1. Command
JSP commands are JS
If you use relative paths in a JSP, you may have problems.Because of the "relative path" in the Web page, he is looking for resources relative to "URL request Address".What does it mean by this sentence?As an example:If we have a project: MYAPPUnder this project, there is a JSP folderThis folder includes the following:login.jsp//Landing pageREGISTER.JPS//Registration pageWe enter the address in the browser
Lists JSP built-in objects and describes how to pass values on pages in the same application ?, Jsp built-in
Lists JSP built-in objects and describes how to pass values on pages in the same application?
Jsp has nine built-in objects: request, reponse, page, pagecontext, session, application, execption, config, out, An
Jsp tag EL expression, jsp tag Library
1. jsp tag and el expression(1) What is a jsp tag?The jsp tag is used to replace the java code in the jsp file. After the container encounters a jsp
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.