post request of Ajax

There are four points to pay attention to in ajax get requests: Passing data to the server requires a call to the send (request string data) method Call the setRequestHeader() method to organize the passed data into xml format (passing the data by imitating the form form) The transmitted Chinese information does not need to be ...

Posted on Sat, 15 Feb 2020 08:25:21 -0800 by jon2s

Spring cloud advanced: message driven Spring Cloud Stream message partition

  my blog: Programmer Xiaoxiaosheng Welcome to blog! Last chapter Spring cloud advanced: Spring Cloud Stream consumer group Among them, we realize the function that messages are only received by one consumer in the same group by configuring consumer groups. This chapter describes the functions of message partitioning. Preface   in Spr ...

Posted on Sat, 15 Feb 2020 06:17:30 -0800 by foolguitardude

Getting started with Android: Toast, Menu usage and destruction of activities

Last: Getting started with Android (3): Basic usage of activities Toast In the previous article onCreate() added some code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.first_layout); Button button1 = (Button) fin ...

Posted on Fri, 14 Feb 2020 20:55:43 -0800 by deathrider

Changgou Mall (the first day)

Environment building Information: Cloud disk connection Extraction code: sb1m After getting the data, decompress the virtual machine, and open Centos-changgou.vmx with VMware virtual machine software, Then open, user name: root, password: 123456. The environment used in the later stage has been instal ...

Posted on Fri, 14 Feb 2020 09:19:00 -0800 by ronald29x

Using Fragment and RadioGroup for page layout switching in Android

Now the main page interface design of APP uses several buttons and different fragments to switch pages. It looks very clear to users at a glance. Here we use fragments and RadioGroup to switch pages. The interface design is as follows: The code is as follows: titlebar.xml(Titlebar Title bar) <?xml version="1.0" encodin ...

Posted on Fri, 14 Feb 2020 08:30:17 -0800 by palpie

Entity Framework learning notes 1 Books

Introduction to Entity Framework The first version of Entity FrameWork 1 is not ready for use in. net3.5. One product is LINQ to SQL, which provides similar functions and can be used in. net3.5. In a broad sense, LINQ to SQL and Entity FrameWork provide similar functions. However, LINQ to SQL is sim ...

Posted on Thu, 13 Feb 2020 22:05:45 -0800 by tasairis

How to add an option menu to a clip on Android

I'm trying to add an item to the options menu from a set of clips. I created a new MenuFragment class and extended it to the fragment I want to include the menu item in. This is the code: public class MenuFragment extends Fragment { MenuItem fav; @Override public void onCreate(Bundle savedInstanceState) { super.onCre ...

Posted on Thu, 13 Feb 2020 08:21:11 -0800 by horseygirl

Spring MVC develops RESTful interface

Concept: What is REST? REST is an abbreviation for representative state transfer. restful is an interface design style. It is not a protocol, usually based on HTTP protocol; Why do you need such a style? One of the key points of RESTful is uniform interface naming rules; Each developer may have different interface styles, the most common ones a ...

Posted on Thu, 13 Feb 2020 03:52:06 -0800 by kitaeshi

Usage of [Spring MVC] @Configuration

Source: https://www.cnblogs.com/duanxz/p/7493276.html From Spring 3.0, @ Configuration is used to define Configuration classes and replace xml Configuration files. The annotated classes contain one or more methods annotated by @ bean. These methods will be scanned by AnnotationConfigApplicationContext o ...

Posted on Thu, 13 Feb 2020 02:01:09 -0800 by rach123

Sorting out Java Web Framework -- configuring SSM framework

Article directory Set up SSM project POJO CategoryMapper Configure Category.xml CategoryService CategoryServiceImpl CategoryController web.xml applicationContext.xml springMVC.xml listCategory.jsp Could not resolve type alias' categorymap 'appears. Cause: java.lang.classnotfoundexception: Effect: Pr ...

Posted on Thu, 13 Feb 2020 01:07:06 -0800 by ChrisMartino