ajax uploads form data

Upload files through traditional form submission: <form id= "uploadForm" action= "http://localhost:8080/cfJAX_RS/rest/file/upload" method= "post" enctype ="multipart/form-data">        <h1 >Test pass Rest Interface upload file </h1>        <p >Specify the file name: <input type ="text" name="filename" /& ...

Posted by SueHubert on Sat, 01 Jun 2019 21:12:20 +0200

[JavaScript Learning] DOM Operating Technology

Dynamic script Definition: Page loading does not exist, but at some point in the future by modifying the DOM dynamically added scripts. There are two ways to create dynamic scripts: Insert external files Insert JavaScript code directly Insert external files var script = document.createElement("script"); script.type = "text/javascipt"; ...

Posted by bob2006 on Fri, 17 May 2019 20:56:34 +0200

tomcat, httpd log format description

tomcat log description Configuration file server.xml The default log format is pattern="%h %l %u %t &quot;%r&quot; %s %b" Recommended use pattern="%{X-FORWARDED-FOR}i %l %u %t %r %s %b %D %{User-Agent}i" The log output is as follows 192.168.3.14 - - [14/Dec/2017:17:56:05 +0800] GET /solr/admin/cores?_=1513245362283&indexInfo=false& ...

Posted by irn3rd on Fri, 17 May 2019 09:33:37 +0200

Front End Basic Learning-CSS for Column Charts

CSS is powerful in handling typesetting, not impossible but unexpected.Next, we'll work on a column chart. Start with a specific framework.We use an unordered list as a whole, and what's inside we simply choose inline null span, strong, em to fill. <ul class="chart"> <li><em>Call of Duty</em><span>: < ...

Posted by corruption on Fri, 17 May 2019 05:36:20 +0200

Spring Boot Membership Management System-Processing File Upload

Reminder Spring Boot membership management system needs to involve Spring framework, Spring MVC framework, Hibernate framework, thymeleaf template engine. So, you can learn these knowledge. Of course, it's okay to use it directly, but it may be difficult to use it when it comes to some exceptions and principles. 1. Front end part In the front ...

Posted by ldd76 on Thu, 16 May 2019 14:00:11 +0200

This is probably the most tedious Python crawler introductory tutorial 2-100

Preface Starting today, I'm going to roll up my sleeve and write Python crawlers directly. The best way to learn a language is to do it purposefully, so I'm going to do this with 10 + blogs.Hope you can do it well. In order to write the crawler well, we need to prepare a Firefox browser, also need to prepare the crawler tool, ...

Posted by muthuraj_mr on Tue, 14 May 2019 19:03:06 +0200

Mobile Responsive Layout

I. Mobile End Foundation 0x1 Viewport 1, introduction viewport on mobile devices refers to the screen of the device that can be used to display the network. In general, viewport s on mobile devices are larger than browsing pages. Visual area of the device. 2, usage <meta name="viewport" content="width=device-width ...

Posted by darthbutternutz on Tue, 14 May 2019 15:29:39 +0200

Constructor, prototype, prototype chain, prototype chain inheritance in JS

JavaScript is a prototype-based interpretive scripting language, which runs on the browser side. At the same time, JS is an object-oriented programming language. Everything in JS can be regarded as objects, strings, numbers, functions and so on. First, what are the ways to create objects? 1. Create an object literal: var student ...

Posted by bmyster on Tue, 14 May 2019 13:32:08 +0200

Realization of 2048 mini-games with JS

Preface: What I have been doing for a year is back-end stuff. I haven't written the front-end code. I forgot about it. I used jQuery before, but I can still do something good. Think of picking up a little, or waste the cultivation of the master. I've been reading blogs, but I don't have anything of my own. this has to change. why not start now? ...

Posted by shaitan on Sun, 12 May 2019 10:16:18 +0200