freemarker tag usage and configuration

After some time of research, freemarker really works better than jsp, and freemarker strictly divides the mvc pattern.Show on the page as a template filler.The following describes the use and configuration of freemarker that I experienced. Configuration tags are good for maintaining and expanding the project. Create a freemarker configuratio ...

Posted by FrankHarley on Mon, 20 Jul 2020 08:38:52 -0700

Hiberante reverse-generates database tables

1,hibernate.cfg.xml Comment out this section of configuration <!--Update database level automatically--> <!--<property name="hbm2ddl.auto">create</property>--> 2. New Generate Database Table Tool Class public class HibernateSchemaExport { static Session session; static Configuration ...

Posted by rigi2 on Sat, 18 Jul 2020 08:49:13 -0700

Android login registration interface add video background method (simple version)

Describes how to add a video background to the interface found on the Internet, which mimics keep 1. First add the raw folder under the res folder and copy in the video you want to use 2. Add video_under the layout folderBackground.xmlLayout, add Videview control inside layout 3. Change AndroidManifest.xml Content removes Bar from the disp ...

Posted by GrayFox12 on Thu, 16 Jul 2020 08:04:36 -0700

android exceptions collect error information and save it to the crash folder

Save the log file to the sdcard, directory: crash folder under the sdcard root directory First, set permissions, no permissions to the final effect <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>Two classes must be crea ...

Posted by falcon1 on Wed, 15 Jul 2020 08:11:06 -0700

Android evokes app in many ways

Method 1 (aroused by Intent) Our own app Code: ComponentName componetName = new ComponentName( "com.lh.jimtrency.webviewdemo", "com.lh.jimtrency.webviewdemo.MainActivity"); //(package name of another application, Activity to start) Bundle bundle = new Bundle(); ArrayList<String> strings=new ArrayLis ...

Posted by kaze on Tue, 14 Jul 2020 08:49:12 -0700

Android Custom WheelView

function Wheeled Select View, similar to TimePicker or DataPicker, allows you to set whether or not there is a boundary (the beginning and end meet) Design sketch Explain Inherited from View to assist with scrolling with OverScroller, using a minimum API version of 9.If necessary, you can use Scroller instead, w ...

Posted by bobicles2 on Mon, 13 Jul 2020 08:46:00 -0700

Android Custom WheelView

function Wheeled Select View, similar to TimePicker or DataPicker, allows you to set whether or not there is a boundary (the beginning and end meet) Design sketch Explain Inherited from View to assist with scrolling with OverScroller, using a minimum API version of 9.If necessary, you can use Scroller instead, w ...

Posted by Kane250 on Mon, 13 Jul 2020 08:47:24 -0700

Getting started with middleware mycat (1): Deployment and introduction

During the initial testing process, the project originally used kingshard as the middleware, but during the testing process, we found that the join does not support different sub-tables, so we can only choose to give up and change to mycat to do the testing Download address is [root@gzsd-ks01-101110214 download]# wget http://dl.mycat.i ...

Posted by Aptana on Fri, 10 Jul 2020 09:18:41 -0700

Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by ven0m on Thu, 09 Jul 2020 08:16:22 -0700

Imitate Advertising Effect

Imitate the effect of an advertisement, see the effect picture first The results are as follows: Slide up, the head of the picture comes out first, and then scroll along as you scroll. When the picture slides out of the screen, the inside of the picture also reaches the bottom. Slide down, the bottom of the ...

Posted by ntohky14 on Thu, 09 Jul 2020 08:17:04 -0700