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
although pplet is basically useless. However, it also has some application scenarios for compatibility. For each browser, you cannot directly write the
tag. Finally, consider the test for a few days. Finally, write the following code to make
JSON in the previous articleArticleIt has been described in detail that JSON is easy to understand and fast to transmit. And can be well integrated with JavaScript.
Without adding jar, JSP paging can be well completed.
The following
We all know that prototype design is required before Software Project (Web) development, and axure RP is one of the most used prototype design software. InThe prototype on axure RP does not require any coding capability, and the generated prototype
The "session" object represents the conversation between the server and the client. It is used when client information needs to be retained on different JSP pages, such as online shopping and customer Track Tracking.
HTTP is a stateless protocol.
There are about three redirect Methods Using JSP:1. response. sendredirect ();2. response. setheader ("location ","");3.
The following rules are obtained after testing:
I. response. sendredirect ()
Out. Flush () is not allowed before this statement.
Import java. util .*;
Int y, M, D, H, mm;Calendar c = calendar. getinstance ();Y = C. Get (calendar. year); // yearM = C. Get (calendar. month) + 1; // monthD = C. Get (calendar. day_of_month); // dayH = C. Get (calendar. hour); // hour (hour --
I just saw some people in the group saying that the XML generated by JSP has a problem with Ajax. Since JSP is basically not used for display, I only tried to write a test code section and use IE to check it, normal, Ajax does not work, the Code is
tagged beanname attribute: Specifies the name of the serialized bean.
How can this problem be solved?
It is best to give an example. // ================================================ ========================================================== ======
JSP has nine built-in objects:
(1) Session Object of the httpsession classPurpose: stores the information of each user separately and the session associated with the request;Session status maintenance is a must for Web application developers.(2)
Turn: http://www.iteye.com/topic/81120
The first thing I want to talk about is that AJAX cannot upload files. I can think about how AJAX can transfer files through passing strings to communicate with the background? In fact, JS cannot operate files
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
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.
From: http://www.cn-java.com/www1? Action-viewnews-itemid-70585
1. delete a cookie with a known name (scheme: re-create a cookie with the same name and immediately delete the type)
Cookie newcookie = new cookie ("username", null); // if you
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
Address: http://www.egzcn.com/article/webbc/JSP/2006-03-22/2002.html
5. Understand javax. servlet. http. HttpSessionHttpSession is the Java platform's Implementation specification for the session mechanism, because it is only an interface,
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