The functions tag library is a standard El function set defined in jstl. The functions defined in the functions tag library are basically functions that operate on strings. To use the functions tag library on the JSP page, use the taglib command to
First, let's take a look at an Important Role in JSP: El implicit object pagecontext
The implicit object of pagecontext corresponds to javax. servlet. JSP. pagecontext objects and hidden objects are automatically added to pagecontext. You can use
ProgramDescription:
Programming to Implement the user registration function of a website, requires that you write a JSP page for users to enter registration information, get user input data on the receiving page, and output data on the browser at
JSP uses the label to control content display
not started in progress terminated completed
select your problem on the left: 1. please describe the problem in detail 2. if you can, please provide us with comprehensive
Warning: No configuration found for the specified action: '/sdoubleselect. jsp' in namespace: '. Form Action defaulting to 'action' attribute's literal value.8:56:21 freemarker. log. jdk14loggerfactory $ jdk14logger ErrorSevere:
Expression
// JSP disables the cache code response. setheader ("Pragma", "No-Cache"); response. setheader ("cache-control", "No-Cache"); response. setdateheader ("expires", 0); // The Code cannot run correctly on the network. For details, refer to If (request.
We have discussed the init () method in servlet & JSP (2), and mentioned that the init () method contains a parameter of the type servletconfig, the servlet container uses this parameter to pass configuration information to the servlet. Servlet uses
In this article, we will discuss Expression Language (EL ). Let's first discuss its syntax.
El syntax
The El syntax is simple. All El expressions start with $ {and end. For example, $ {expr }.
"[]" And "." Operators
El uses the "[]" and "."
In this article, we will focus on two aspects: servlet lifecycle and Servlet Request forwarding. In fact, we have already roughly introduced the entire servlet lifecycle process, but we have not systematically mentioned it. In this article, we will
Test. jsp page1. system. Out. println ("before response. sendredirect ");2. response. sendredirect ("/target. jsp ");3. system. Out. println ("After response. sendredirect ");Why is the execution performed in line 3?I thought that sendredirect was
tagged beanname attribute: Specifies the name of the serialized bean.
How can this problem be solved?
It is best to give an example. // ================================================ ========================================================== ======
Sometimes, reports an error with the error prompt:Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"The main reason is the lackJstl. JarStandard. JarTwo jar packages
If not, adjust the jstl. Jar version based on the web
JSP
Environment Configuration
ABSTRACT To learn about JSP development, you must first build a development environment that complies with JSP specifications. This article introduces three methods for configuring the JSP environment with the Tomcat
Common JSP page query display mode title: Common JSP page query Display Mode
Author: Evan
Email: evan_zhao@hotmail.comBackground:1. List the database query results in JSP2. In a good J2EE mode, database queries are generally implemented using Dao
JSP uses cookies to remember the user name and password
If (request. getparameter ("send ")! = NULL)
{
Cookie = new cookie (request. getparameter ("userno"), request. getparameter ("password "));
Cookie. setmaxage (360*24*60*60 );
Response.
The request object has completed the httpservletrequest interface, deciding that it can obtain Users' Request Parameters, obtain cookies, obtain HTTP request headers, and obtain users' IP addresses. The first essentials of the request object
Jsp version ajax File UploadJsp uses ajax + jquery to upload images without refreshing
The first step to import the needed package, jquery. js, ajaxfileupload. js, to the http://www.phpletter.com to download ajaxfileupload package
The HTML code is
Address: http://blog.csdn.net/jinhuiyu/archive/2008/12/10/3487588.aspx
Many application presentation layers use JSP and Servlet. This article discusses how to improve the performance of such applications through Coding best practices and deployment
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