Hahaha first blogging (2018-4-22)

2018-4-22

The job is as follows:

1. Create a web application and implement dynamic method invocation ( DMI ) by specifying the method attribute when configuring the <action ... /> element :

Page contains username and password

Implement login and registration functions

 

------------------------- I am the dividing line --------------------- -----------------

It took me almost an hour of precious time for such a simple assignment, but it is worthy of consolation that it was finally done. .

Summarize the valuable experience:

1. Spelling must not be wrong! ! ! Knock on the blackboard! ! , it's this error that cost me so much time

2. Each attribute name must correspond, pay attention to the capitalization of the name, otherwise the consequences will follow the above

By the way, I use javascript to dynamically modify the action when submitting, so that it is submitted to the corresponding action method for processing, because of the following bad guys:

targetForm = document.forms[0];

form is missing an s. . . Well, it's still too little time to program yourself.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324628849&siteId=291194637