Lehang tourism network (http://www.lx366.com/) by Shenzhen City pengyun International Travel Service Department of the Government fully operated by Shenzhen City Digital flying Technology Co., Ltd. Development. It is a good choice for travel!
Lx366.
JSP + JavaBean and JSP + servlet + JavaBean are two modes. The former is pure JSP and the latter is simple MVC,
Sun has successively introduced two specifications for the MVC model. The first is JSP model1, and the second is JSP model2.
Model1
Import java. util. *; // The Clone and equals methods.
Public class cloneequal {public static void main (string [] ARGs) {date D1, D2, D3; D1 = new date ();
D2 = D1; // the same object in the execution memory
D3 = (date) d1.clone (); // The clone
--> Caller activity:Public void callactivity {// Package the data and pass it into the called ActivityIntent intent = new intent ();Intent. setclass (this, testactivity2.class );Bundle bundle = new bundle ();Bundle. putstring ("data", "data
Preface:
From kaibo to the present, I have been trying to write something, But after reading a few days of books, I found that new things are hard to go deep, but I don't want to make a blog so I decided to summarize what I learned before, in text.
1. Add modules for nginx
Go to the nginx source code package and add the corresponding module to configure again.
./Configure -- add-module =/path/to/Module
For example, if the ngx_http_push Module I downloaded is stored in
After graduation, I have finished my work ~ I want to write my blog ~
I used Jekyll on GitHub to build a new blog and moved the blog I wrote on cnblogs (in fact, I haven't written a few articles in the blog garden... sticking it directly... it's
Lucene is an open-source project organized by Apache to implement full-text search engines using Java. Its functions are very powerful, but the API is actually very simple. The main thing is to do two things: index creation and search (For details,
1. Convert the date format to a string:
String timestr = DT. tow.datestring ();Or string timestr = DT. tow.timestring ();Or string timestr = DT. tostring ("yyyymmdd ");
Note: In custom format conversion, yyyy indicates the year, for example, 2008 or
1. List
To determine whether it is null: The Count attribute;
Determine whether an element is in the list: List. Contains (T item );
Traversal can be used: foreach,;
List clear: List. Clear ();
2. dictionary
To determine whether it is null: The
1. A non-0 value indicates true, and a 0 value indicates false );
2. STL and MFC
C ++ is a language and has limited functions. It requires some class libraries to encapsulate common operations and can be called directly in the future, saving a lot
1. Select tag(1) event onchange triggered when the index changes(2) obtain the selected text in the SELECT statement:$ ("# XXX"). Find ("option: Selected"). Text ();(3) obtain the selected value of select:$ ("# XXX"). Val ();(4) set the index
The general direction of Java is javaee, which is not only socket programming, but also the core technology in section 13.
Core APIs and components of javaee
The javaee platform consists of a complete set of services, application interfaces (APIS),
I. Ideas:
1. When sessionstate is inproc, a new session object is generated each time an IE window is opened. Each session ID is unique (StateServer maintains a session and cannot use sessionid );
2. Use sessionid as the key and user ID as the key
I recently reviewed the C language and felt that my previous learning and understanding of C was actually shit. Today, I am looking at the data alignment issue concerning the storage and allocation of members in the struct. I would like to share it
Sometimes we often worry about the low execution efficiency of our SQL statements. After repeated optimization, it will not be improved.
Then you can use this statement to find out where your SQL is slow.
Example:
Set statistics Io onSet statistics
Today is the last day of July, forcing yourself to write something. I tried to write a blog post more than once, but I was always blocked by my laziness. I saved three drafts, but none of them kept writing. The idea of logging on every Monday has
The third week of school year is over.
Book:
After reading MySQL, I finally learned the basic structure of MySQL. I know the MySQL components I have not touched in PHP programming before, such as triggers, cursors, views, stored procedures, and so
Memcached features:Simple ProtocolLibevent-based event processingBuilt-in memory storageDistributed memcached does not communicate with each other1. Simple protocol:Using simple text-based protocols, you can use Telnet to save data and obtain data
After the database is backed up, the database backup file may be damaged due to other reasons. This article describes how to verify the correctness of the database backup file.
SMO verify the database backup file code: // /// Verify the database
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