JSP gets the value of the radio button component.

jspGets the value of the radio button component. 1.First, write a foreground page with a radio button component. 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 4 <html> 5 <head> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <title>Insert title here</title> 8 </head> 9 <body> 10 <form action="request1.jsp" method="post"> 11 Male: < input type= "r...

SSH port changes or SSH can not be reached remotely (especially foreign servers)

Question: Connecting to 149.*.*.*:22…Connection established.To escape to local shell, press ‘Ctrl+Alt+]’. Set the number of visits to /etc/ssh/sshd_config take#UseDNS yesChange to UseDNSnoUsing DNS check, the system tries to check the corresponding domain name through DNS when SSH is an IP.If there is no domain name resolution for this IP in DNS, it will wait until the DNS query expires for the next step, which takes a long time   This parameter seems to be certifying graphics. modifyGSSAPIAuthenticationThe parameter is no,The default is yes  #MaxStartups 10,Input /Max...

JSP gets the value of the multi frame component.

jspGet the value of the multi frame component 1.First, write a foreground page with multiple boxes. 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 4 <html> 5 <head> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <title>Insert title here</title> 8 </head> 9 <body> 10 <form action="request2.jsp" method="post"> 11 Favorite color: < br/>12 Red...

Online learning and online learning and online convex optimization – convexity method 4

  Some online prediction problems can be translated into online convex optimization framework. The following two kinds of convexity techniques are introduced:   Some online prediction problems do not seem to fit the online convex optimization framework. For example, in the online classification problem, the prediction domain (predictions domain) or the loss function are not convex. We describe two convex techniques that allow us to use online convex optimization frameworks in other scenarios.   1.Convexification by Randomization   To demonstrate the randomization technique, we...

Create Vue project with scaffolding

1 .Create file address First create a folder, I use the HBuilder editor, then drag the folder into the editor and open CMD in the folder you created  2.Input installation command:     1). npm install –global vue-cli     2). vue init webpack my-project When you install second, the page will appear.   During installation, you will be asked whether you need to configure routing, testing and so on.     Project name Project name (enter)     Porject description Project description (enter)     Author (enter)     Install vue-router Do you follo...

JSP gets the value of the drop-down component.

jspGets the value of the drop-down component. 1.First, write a foreground page with a drop-down box. 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 4 <html> 5 <head> 6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7 <title>Insert title here</title> 8 </head> 9 <body> 10 <form action="request3.jsp" method="post"> 11 The country < br/>12 <se...

[BZOJ3992] [SDOI2015] sequence statistics

[BZOJ3992] [SDOI2015] sequence statistics” Description Small C has a set of S whose elements are all non negative integers less than M. He programmed a sequence generator to generate a N-length sequence in which each number belongs to the set S. Small C uses this generator to generate many such sequences. But little C has a problem that needs you.Help: Given the integer x, find how many different sequences of numbers can be generated that satisfy the value of the product mod M of all the numbers in the sequence equal to X. Small C holds that two sequences {Ai} and {Bi} are different if ...