- 再见2023,你好2024
青杉`
年终总结
再次感叹,时间过得飞快,又一年过去了。本文写于2023年12月24日回顾2023首先回顾下年初立下的flag。(请看VCR)学习夯实基础、拓展视野kotlin、Java、Android基础学习、实践、总结性能优化了解学习底层知识、新领域知识每日刷题沟通输出写写日记,记录想法总结工作产出输出技术文章思考新工作:大厂/大公司?or中小公司?技术方向:广度优先?or深度优先?健康早睡早起(晚12点前,早
- Android基础学习、HashMap
沐左
HashMapSparseArrayHashTable
学习一个新的数据结构,我们需要从这个数据结构的使用入手,比如,我们学习HashMap,我们就看看HashMap是怎么使用的,我们使用HashMap最多的方法就是put方法。备注:我们用Android10.0(API29)的源码进行分析HashMap的插入流程我们使用HashMap的一般代码MaphashMap=newHashMaphashMap=newHashMapHashMapwiththede
- android基础学习【三、基础控件(ToolBar、AlertDialog、PopupWindow)】
comochris
Android笔记分享android设计模式
ToolBar简单属性设置如下图所示AlertDialogAlertDialog并不需要到布局文件中创建,而是在代码中通过构造器(AlertDialog.Builder)来构造标题、图标和按钮等内容的。1.创建构造器AlertDialog.Builder的对象;2.通过构造器对象调用setTitle、setMessage、setIcon等方法构造对话框的标题、信息和图标等内容;3.根据需要调用se
- Android基础学习笔记16:标签
xjw_w
Android基础android学习androidstudio
学习目标熟悉标签常用属性能在应用中正确使用标签安卓应用里需要显示不变的信息,一般采用标签(TextView)。一继承关系图TextView是View的子类Button和EditText都是TextView的子类二标签常用属性三教学案例:标签演示1、创建安卓应用基于EmptyActivity模板创建安卓应用-TextViewDemo单击【Finish】按钮2、字符串资源文件字符串资源文件string
- Android笔记
白云远去
android笔记
文章目录Android基础Fragment和Activitygradle是什么、需要注意什么ActivityResultLauncher替代startActivityForResultAndroid基础学习Android开发可以类比成盖房子。想要盖一座漂亮的房子,需要掌握以下知识点:Java基础知识:Java就像是建筑工人的工具,工人需要熟练使用这些工具才能盖出好的房子。Android开发基础:A
- Android基础学习笔记4:安卓平台架构
蛋糕爱编程
Android基础android学习架构
学习目标能说出安卓平台架构有哪几层会使用安卓设备监视器,尤其是DDMS会基本使用安卓调试桥ADB进入安卓的Linxu内核一、安卓平台架构Android是一种基于Linux的开放源代码软件栈,为各类设备和机型而创建Android平台构成的主要组件(一)安卓平台架构简述1、Linux内核Android平台的基础是Linux内核。例如,AndroidRuntime(ART)依靠Linux内核来执行底层功
- Android基础学习整理知识点
内耗王者
android学习
注:本文内容有自己理解部分,若有不对的地方,欢迎指出。Android四大组件Activity什么是Activity?是应用程序的组件,用于显示用户界面,可以与用户交互完成相关的操作。App中可以有很多个Activity。Activity存储于android系统的返回栈(backstack)中,特点先进先出(返回键或finish()出栈)。Activity的几种状态Activity状态说明运行状态处
- android基础学习系统小节
桔子橙子柚子_F
四大组件.png知识点小节:Activity的生命周期?Activity的生命周期onCreate():活动第一次被创建的时候调用onStart():活动由不可见变为可见onResume():活动准备好和用户进行交互,此时的活动一定处于返回栈的栈顶,并且处于运行状态onPause():系统准备启动或恢复另一个活动(保存一些关键数据)onStop():在活动完全不可见时调用onDestory():活
- 各种学习资源汇总
zhuangzi
1.慕课网(有手机app)http://www.imooc.com/2.极客学院(有手机app)http://www.jikexueyuan.com/3.51cto(有手机app)http://edu.51cto.com/4.掘金网(有手机app)http://gold.xitu.io/5.(有手机app)http://www.jianshu.com/6.android基础学习http://gui
- Android基础学习(持续更新)
Android基础
下周一入职,不熟悉的城市,欣喜,忐忑一、Activity启动模式任务栈Task,是一种用来放置Activity实例的容器,以栈的形式盛放(先进后出)。任务栈的基本操作:压栈、出栈,其所存放的Activity不支持重排序,只能根据压栈和出栈操作更改Activity的顺序。Task被移到后台,成为后台任务栈;Task启动被调到前台,成为前台任务栈;手机页面显示的是前台任务栈中的栈顶元素。1、stand
- Android基础学习开篇
袁阳的csdn博客
今日总结
在经过痛苦的挣扎(对有些基础不了解,不熟悉)后,我决定把Android官方文档再重新学习一遍。大致路线:Training—–>APIGuide(用户指南)—–>Sample(官方示例)具体过程在学习的过程中,记载学习笔记,并记录至CSDN博客。申请“Android基础巩固”指南。用时根据自己的情况,初步定为两个月。
- ANDROID基础学习笔记_1_方法的四种绑定方式
GONETHEN
ANDROID
第一次写安卓应用程序,好激动。。。首先右键资源管理器(我也不知道是不是叫这个名字)-new-androidapplicationproject,填选一些东西之后,第一个安卓应用程序就创建好了。例子是通过做一个电话拨号器来实现的。先在GraphicalLayout视图下拖拽控件,一个电话输入框(Phone),一个按钮(Button).xml文件源码如下:下面开始介绍方法的四种绑定方式。加载布局文件需
- android基础学习-java篇day4-step2-第二节:java封装
mrdonkey3
java基础(原)
什么是封装?-将类的某些信息隐藏在类的内部,不允许外部程序访问-通过该类提供的方法来实现对隐藏信息的操作和访问-隐藏对象的信息-留出访问的接口特点:1、只能通过规定方法访问数据2、隐藏类的实例细节,方便修改和实现实现步骤:private访问修饰符:只能在当前类内访问;Cat.javapackagecom.demo.day4.object;publicclassCat{/*封装的三个步骤:*1-修改
- android基础学习-java篇day2-step1-第三节:java流程控制之选择控制
mrdonkey3
java基础(原)
流程结构1.顺序结构2.选择结构3.循环结构1.多重if结构学生成绩判断案例:packagecom.demo.day2.flow;importjava.util.Scanner;publicclassScoreAssess{publicstaticvoidmain(String[]args){//成绩评定//60>x不及格//6090优System.out.println("请输入你的成绩:");
- android基础学习笔记1
ying_seven
Android
数据存储l创建数据库的步骤Ø通过Helper建立数据库表结构àonCreate,onuØ调用helper实例,通过get***Database()得到DB对象Ø通过DB对象实例调用增删改查方法进行操作lSQLiteOpenHelper使用方法ØgetReadableDatabase()得到一个可读的dbØgetWritableDatabase()得到一个可写的dbØonCreate(SQLiteD
- Android基础学习 自定义内容提供器ContentProvider
O泡果奶要要要
Andoidandroid
内容提供器(ContentProvider)主要用于在不同的应用程序之间实现数据共享的功能,它提供了一套完整的机制,允许一个程序访问另一个程序中的数据,同时还能保证被访数据的安全性。目前,使用内容提供器是Android实现跨程序共享数据的标准方式。不同于文件存储和SharedPreferences存储中的两种全局可读写操作模式,内容提供器可以选.择只对哪一部分数据进行共享,从而保证我们程序中的隐私
- Android基础学习之Service
qq_26972449
Android基础学习——其它
前言今天的博客换一种字体,不用楷体了,试试黑体,简单记录一下今天的状态吧!不然以后回过头看自己的博客,甚至自己还不知道还不知道当时的情景。今天早上去了成都取几件衣服和鞋,现在的天气确实很不好,空气中厚厚的霾,实在影响人的心情,下午急急忙忙的又回来了,一天都在车上度过的。回来的时候头有点晕,休息了一会,去打了篮球。然会回家吃饭,睡觉,哎!这流水账给记得。Service简介WhatisService?
- Android基础学习之Activity
qq_26972449
Android基础学习——其它android
简介 Activity在应用中负责与用户进行交互的组件,为用户提供了可视化的界面。一个App必定是由多个Activity组成的,不客气的说,Activity是四大组件中使用最频繁的组件,没有之一。对于Activity,准确的说,应该把它理解为一个容器,我们能看到的一切东西如按钮,复选框,编辑框等,必须放在Activity里面使用setContentView方法方可显示。生命周期Activit
- Android基础学习笔记:Activity的四种LaunchMode
august_wy
LaunchMode在多个Activity跳转的过程中扮演着重要的角色,它可以决定是否生成新的Activity实例,是否重用已存在的Activity实例,是否和其他Activity实例公用一个task。task是一个具有栈结构的对象,一个task可以管理多个Activity,启动一个应用,也就创建一个与之对应的task。Activity一共有以下四种launchMode:1.standard;2.
- 【Android基础学习】webview加载网页,tel协议不会调出拨号盘?该如何处理
dodod2012
Android基础
webview加载网页,tel协议不会调出拨号盘?在窗体上放了一个Webview:publicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);mWebView=(WebView)findViewById(R.id.webV
- android基础学习-java篇day3-step1-第五节:java方法
mrdonkey3
java基础(原)
什么是方法?所谓方法,就是用来解决一类问题的代码的有序组合,是一个功能模块。比如:Scannersc=newScanner(System.in);sc.nextInt();sc.next();Scanner是jdk自带的一个类,sc是类生产的对象而.nextIn()是对象名调用的方法一般流程首先创建类的对象然后使用对象名.方法名()去调用方法注意:方法在类的内部定义方法的声明和调用:语法格式:访问
- Android基础学习总结(十)——WebView的基本用法总结
若爱我菲、
Android
引言有时候我们可能要求在应用程序里展示一些网页,在不允许打开系统浏览器,而我们当然也不可能自己去编写一个浏览器出来,这时不用担心,Android它提供了一个WebView控件来帮助我们做这件事情。关于WebViewAndroid内置了webkit内核的高性能浏览器(从Android4.4以后是Chromium),而WebView则是在这个基础上进行封装后的一个控件,WebView直译网页视图,我们
- android基础学习12——内容提供者ContentProvider的使用
sinahyy
新手
内容提供者(ContentProvider)是Android系统四大组件之一,用于保存和检索数据,是Android系统中不同应用程序之间共享数据的接口。在Android系统中,应用程序之间是相互独立的,分别运行在自己的进程中,相互之间没有数据交换。若应用程序之间需要共享数据,就需要用到ContentProvider。ContentProvider是不同应用程序之间进行数据交换的标准API,它以Ur
- 【Android基础学习】Android使用fitsSystemWindows属性实现–状态栏【status_bar】各版本适配方案
dodod2012
Android基础
Android使用fitsSystemWindows属性实现–状态栏【status_bar】各版本适配方案原文地址:http://blog.csdn.net/ys408973279/article/details/499944071.Android5.0以上:半透明(APP的内容不被上拉到状态)2.Android4.4以上:全透明(APP的内容不被上拉到状态)3.Android4.4以下:不占据s
- 本科学习Android笔记之传智播客_快速掌握Android视频教程
LeeLi_1992
Android
传智播客2012年_Android基础学习视频【经典入门】参照本科Android选修课学习视频目录总结:•01_前言.avi•02_搭建Android开发环境.avi•03_创建与启动手机模拟器和学习使用ANDROID操作系统.avi•04_开发与运行(卸载)第一个ANDROID应用.avi•05_项目的目录结构与安装及启动过程分析.avi【安装和启动过程分析,比较有价值】•06_电话拔号器.av
- android项目目录介绍
2哥的成长记录
/*************************************/>android基础学习/*************************************/0.MVC/*************************************/-----+>V|视图层通过用户触发请求-----+-----+>C|接受用户的请求并且接受用户传递过来的参数根据参数调用模型层/根
- Android基础学习笔记之-ListView用法(一)
水月沐风
android错误调试布局listview
今天学习了Listview的相关内容,通过查找最佳方法来实现listview的效果,最后,发现listview常用的有三种途径,以BaseAdapter适配类为例,它们主要区别在于getview()方法中使用的区别:1).getview()中的view不经过任何处理,最后返回的是view型。如果列表数据量比较大,这种方法每次会重新创建view,配置资源,严重影响性能2).geteview()中使用
- Android Studio基础学习(入门五)——小相册(三)【ImageSwitcher图像切换器】
Te_amo_zzx
AndroidStudio
基础UI控件:按钮,编辑框,单选按钮,复选框,计时器,日期选择器,时间选择器,图片按钮,文本框。Button,EditText,RadioButton,CheckBox,Chronometer,DatePicker,TimePicker,ImageButton,TextView。图像切换器:ImageSwitcher。Android基础学习,话不多说,上代码:activity_main.xml:M
- android基础学习-android篇day14-UI基础控件综合案例——点餐系统
mrdonkey3
1-android入门
案例分析:一、资源图片资源:各种菜品图片(后缀jpg或png),放置到res/drawable文件夹下二、XML布局文件将布局分成三部分a:Title—>"选餐Start!"由图片(ImageView)开始至显示(ToggleButton)垂直方向的线性布局,*weight=1;第一行ImageView第二行ToggleButton三、java代码a:initView();初始化控件b:initD
- 【android基础学习之八】——页面布局
iteye_20755
声明:学习的书籍《Android应用开发揭秘》,这里记录学习该书籍的日志,引用的相关代码与总结描述,没有商业的用途,完全是自我学习的一个记录,刚刚学习不可避免会出现很多问题,若是有错误还请大家多多批评。2011-10-31晚,完成最后一篇Android的基础学习,关于界面一些常用布局;一、界面布局之线性布局(LinearLayout)之前的例子的学习已经多次使用到了LinearLayout这个布局
- rust的指针作为函数返回值是直接传递,还是先销毁后创建?
wudixiaotie
返回值
这是我自己想到的问题,结果去知呼提问,还没等别人回答, 我自己就想到方法实验了。。
fn main() {
let mut a = 34;
println!("a's addr:{:p}", &a);
let p = &mut a;
println!("p's addr:{:p}", &a
- java编程思想 -- 数据的初始化
百合不是茶
java数据的初始化
1.使用构造器确保数据初始化
/*
*在ReckInitDemo类中创建Reck的对象
*/
public class ReckInitDemo {
public static void main(String[] args) {
//创建Reck对象
new Reck();
}
}
- [航天与宇宙]为什么发射和回收航天器有档期
comsci
地球的大气层中有一个时空屏蔽层,这个层次会不定时的出现,如果该时空屏蔽层出现,那么将导致外层空间进入的任何物体被摧毁,而从地面发射到太空的飞船也将被摧毁...
所以,航天发射和飞船回收都需要等待这个时空屏蔽层消失之后,再进行
&
- linux下批量替换文件内容
商人shang
linux替换
1、网络上现成的资料
格式: sed -i "s/查找字段/替换字段/g" `grep 查找字段 -rl 路径`
linux sed 批量替换多个文件中的字符串
sed -i "s/oldstring/newstring/g" `grep oldstring -rl yourdir`
例如:替换/home下所有文件中的www.admi
- 网页在线天气预报
oloz
天气预报
网页在线调用天气预报
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transit
- SpringMVC和Struts2比较
杨白白
springMVC
1. 入口
spring mvc的入口是servlet,而struts2是filter(这里要指出,filter和servlet是不同的。以前认为filter是servlet的一种特殊),这样就导致了二者的机制不同,这里就牵涉到servlet和filter的区别了。
参见:http://blog.csdn.net/zs15932616453/article/details/8832343
2
- refuse copy, lazy girl!
小桔子
copy
妹妹坐船头啊啊啊啊!都打算一点点琢磨呢。文字编辑也写了基本功能了。。今天查资料,结果查到了人家写得完完整整的。我清楚的认识到:
1.那是我自己觉得写不出的高度
2.如果直接拿来用,很快就能解决问题
3.然后就是抄咩~~
4.肿么可以这样子,都不想写了今儿个,留着作参考吧!拒绝大抄特抄,慢慢一点点写!
- apache与php整合
aichenglong
php apache web
一 apache web服务器
1 apeche web服务器的安装
1)下载Apache web服务器
2)配置域名(如果需要使用要在DNS上注册)
3)测试安装访问http://localhost/验证是否安装成功
2 apache管理
1)service.msc进行图形化管理
2)命令管理,配
- Maven常用内置变量
AILIKES
maven
Built-in properties
${basedir} represents the directory containing pom.xml
${version} equivalent to ${project.version} (deprecated: ${pom.version})
Pom/Project properties
Al
- java的类和对象
百合不是茶
JAVA面向对象 类 对象
java中的类:
java是面向对象的语言,解决问题的核心就是将问题看成是一个类,使用类来解决
java使用 class 类名 来创建类 ,在Java中类名要求和构造方法,Java的文件名是一样的
创建一个A类:
class A{
}
java中的类:将某两个事物有联系的属性包装在一个类中,再通
- JS控制页面输入框为只读
bijian1013
JavaScript
在WEB应用开发当中,增、删除、改、查功能必不可少,为了减少以后维护的工作量,我们一般都只做一份页面,通过传入的参数控制其是新增、修改或者查看。而修改时需将待修改的信息从后台取到并显示出来,实际上就是查看的过程,唯一的区别是修改时,页面上所有的信息能修改,而查看页面上的信息不能修改。因此完全可以将其合并,但通过前端JS将查看页面的所有信息控制为只读,在信息量非常大时,就比较麻烦。
- AngularJS与服务器交互
bijian1013
JavaScriptAngularJS$http
对于AJAX应用(使用XMLHttpRequests)来说,向服务器发起请求的传统方式是:获取一个XMLHttpRequest对象的引用、发起请求、读取响应、检查状态码,最后处理服务端的响应。整个过程示例如下:
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange
- [Maven学习笔记八]Maven常用插件应用
bit1129
maven
常用插件及其用法位于:http://maven.apache.org/plugins/
1. Jetty server plugin
2. Dependency copy plugin
3. Surefire Test plugin
4. Uber jar plugin
1. Jetty Pl
- 【Hive六】Hive用户自定义函数(UDF)
bit1129
自定义函数
1. 什么是Hive UDF
Hive是基于Hadoop中的MapReduce,提供HQL查询的数据仓库。Hive是一个很开放的系统,很多内容都支持用户定制,包括:
文件格式:Text File,Sequence File
内存中的数据格式: Java Integer/String, Hadoop IntWritable/Text
用户提供的 map/reduce 脚本:不管什么
- 杀掉nginx进程后丢失nginx.pid,如何重新启动nginx
ronin47
nginx 重启 pid丢失
nginx进程被意外关闭,使用nginx -s reload重启时报如下错误:nginx: [error] open() “/var/run/nginx.pid” failed (2: No such file or directory)这是因为nginx进程被杀死后pid丢失了,下一次再开启nginx -s reload时无法启动解决办法:nginx -s reload 只是用来告诉运行中的ng
- UI设计中我们为什么需要设计动效
brotherlamp
UIui教程ui视频ui资料ui自学
随着国际大品牌苹果和谷歌的引领,最近越来越多的国内公司开始关注动效设计了,越来越多的团队已经意识到动效在产品用户体验中的重要性了,更多的UI设计师们也开始投身动效设计领域。
但是说到底,我们到底为什么需要动效设计?或者说我们到底需要什么样的动效?做动效设计也有段时间了,于是尝试用一些案例,从产品本身出发来说说我所思考的动效设计。
一、加强体验舒适度
嗯,就是让用户更加爽更加爽的用你的产品。
- Spring中JdbcDaoSupport的DataSource注入问题
bylijinnan
javaspring
参考以下两篇文章:
http://www.mkyong.com/spring/spring-jdbctemplate-jdbcdaosupport-examples/
http://stackoverflow.com/questions/4762229/spring-ldap-invoking-setter-methods-in-beans-configuration
Sprin
- 数据库连接池的工作原理
chicony
数据库连接池
随着信息技术的高速发展与广泛应用,数据库技术在信息技术领域中的位置越来越重要,尤其是网络应用和电子商务的迅速发展,都需要数据库技术支持动 态Web站点的运行,而传统的开发模式是:首先在主程序(如Servlet、Beans)中建立数据库连接;然后进行SQL操作,对数据库中的对象进行查 询、修改和删除等操作;最后断开数据库连接。使用这种开发模式,对
- java 关键字
CrazyMizzz
java
关键字是事先定义的,有特别意义的标识符,有时又叫保留字。对于保留字,用户只能按照系统规定的方式使用,不能自行定义。
Java中的关键字按功能主要可以分为以下几类:
(1)访问修饰符
public,private,protected
p
- Hive中的排序语法
daizj
排序hiveorder byDISTRIBUTE BYsort by
Hive中的排序语法 2014.06.22 ORDER BY
hive中的ORDER BY语句和关系数据库中的sql语法相似。他会对查询结果做全局排序,这意味着所有的数据会传送到一个Reduce任务上,这样会导致在大数量的情况下,花费大量时间。
与数据库中 ORDER BY 的区别在于在hive.mapred.mode = strict模式下,必须指定 limit 否则执行会报错。
- 单态设计模式
dcj3sjt126com
设计模式
单例模式(Singleton)用于为一个类生成一个唯一的对象。最常用的地方是数据库连接。 使用单例模式生成一个对象后,该对象可以被其它众多对象所使用。
<?phpclass Example{ // 保存类实例在此属性中 private static&
- svn locked
dcj3sjt126com
Lock
post-commit hook failed (exit code 1) with output:
svn: E155004: Working copy 'D:\xx\xxx' locked
svn: E200031: sqlite: attempt to write a readonly database
svn: E200031: sqlite: attempt to write a
- ARM寄存器学习
e200702084
数据结构C++cC#F#
无论是学习哪一种处理器,首先需要明确的就是这种处理器的寄存器以及工作模式。
ARM有37个寄存器,其中31个通用寄存器,6个状态寄存器。
1、不分组寄存器(R0-R7)
不分组也就是说说,在所有的处理器模式下指的都时同一物理寄存器。在异常中断造成处理器模式切换时,由于不同的处理器模式使用一个名字相同的物理寄存器,就是
- 常用编码资料
gengzg
编码
List<UserInfo> list=GetUserS.GetUserList(11);
String json=JSON.toJSONString(list);
HashMap<Object,Object> hs=new HashMap<Object, Object>();
for(int i=0;i<10;i++)
{
- 进程 vs. 线程
hongtoushizi
线程linux进程
我们介绍了多进程和多线程,这是实现多任务最常用的两种方式。现在,我们来讨论一下这两种方式的优缺点。
首先,要实现多任务,通常我们会设计Master-Worker模式,Master负责分配任务,Worker负责执行任务,因此,多任务环境下,通常是一个Master,多个Worker。
如果用多进程实现Master-Worker,主进程就是Master,其他进程就是Worker。
如果用多线程实现
- Linux定时Job:crontab -e 与 /etc/crontab 的区别
Josh_Persistence
linuxcrontab
一、linux中的crotab中的指定的时间只有5个部分:* * * * *
分别表示:分钟,小时,日,月,星期,具体说来:
第一段 代表分钟 0—59
第二段 代表小时 0—23
第三段 代表日期 1—31
第四段 代表月份 1—12
第五段 代表星期几,0代表星期日 0—6
如:
*/1 * * * * 每分钟执行一次。
*
- KMP算法详解
hm4123660
数据结构C++算法字符串KMP
字符串模式匹配我们相信大家都有遇过,然而我们也习惯用简单匹配法(即Brute-Force算法),其基本思路就是一个个逐一对比下去,这也是我们大家熟知的方法,然而这种算法的效率并不高,但利于理解。
假设主串s="ababcabcacbab",模式串为t="
- 枚举类型的单例模式
zhb8015
单例模式
E.编写一个包含单个元素的枚举类型[极推荐]。代码如下:
public enum MaYun {himself; //定义一个枚举的元素,就代表MaYun的一个实例private String anotherField;MaYun() {//MaYun诞生要做的事情//这个方法也可以去掉。将构造时候需要做的事情放在instance赋值的时候:/** himself = MaYun() {*
- Kafka+Storm+HDFS
ssydxa219
storm
cd /myhome/usr/stormbin/storm nimbus &bin/storm supervisor &bin/storm ui &Kafka+Storm+HDFS整合实践kafka_2.9.2-0.8.1.1.tgzapache-storm-0.9.2-incubating.tar.gzKafka安装配置我们使用3台机器搭建Kafk
- Java获取本地服务器的IP
中华好儿孙
javaWeb获取服务器ip地址
System.out.println("getRequestURL:"+request.getRequestURL());
System.out.println("getLocalAddr:"+request.getLocalAddr());
System.out.println("getLocalPort:&quo