原创 安卓啓動頁全屏,
1.這一塊代碼負責隱藏標題欄,如果不需要隱藏,就不要加 requestWindowFeature(Window.FEATURE_NO_TITLE); //無title getWindow().setFl
原创 在xml中某個位置添加屬性
在xml中某個位置添加屬性 public void b1() throws Exception { String path="CF7.xml"; File filepath=new File(pa
原创 按鈕邊框,半圓角
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> //這裏是Lin
原创 springboot+swagger環境搭建啊
配置pom springboot默認導入包 <dependency> <groupId>org.springframework.boot</groupId> <artif
原创 springboot搭建ssm
jar包 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-bo
原创 在springboot上搭建springJPA
jar包 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.
原创 Zip文件的內容
原文鏈接:https://bbs.csdn.net/topics/390107004/ public static void testZipToUnzip(ZipFile zipfile,Fil
原创 datatable隱藏列後無法獲取列數據問題
本來試着使用了visible:flase;但是發現隱藏後無法獲取數據,想了想可能是dom上直接被remove了吧,換着使用了 這種隱藏方式,再獲取列就可以了,獲取列的方式 或者: var nTds = $("td",this);
原创 讀標籤文件,修改屬性值
public static void setImagesDomain1() throws DocumentException, IOException{ String str="D:/4
原创 修改Searchview中的圖標
searchView = activity.findViewById(R.id.searchView); int magId = getResources().getIdentifier("android:id/search_clos
原创 頁面被放到WEB-INF下面的操作
頁面被放到WEB-INF下面的操作 1.(我猜的)項目中爲了避免用戶察覺到項目的邏輯,然後沒有後綴看起來比較高大上 2. 然後頁面放到WEB-INF下面用戶不能直接訪問,必須springmvc通過攔截器判斷才能跳轉,安全性 邏輯過程
原创 二級報表的生成
public void initPOI() { String str=""; String file="F:/test1/527/a2.xls"; try { Fi
原创 easyui結合iframe的使用
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head
原创 導出報表
try { //FileInputStream fis=new FileInputStream(file); //POIFSFileSystem
原创 Exception dispatching input event.
出現這個報錯,代碼看起來一切正常,我這個問題是 AppCompatActivity的類,其中 mediaController = new MediaController(this);要創建這麼一個對象,參數是context,我使用了a