惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
Jina AI
Jina AI
H
Help Net Security
C
Check Point Blog
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
L
LangChain Blog
Recorded Future
Recorded Future
F
Full Disclosure
Google DeepMind News
Google DeepMind News
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
GbyAI
GbyAI
B
Blog RSS Feed
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
M
MIT News - Artificial intelligence
爱范儿
爱范儿
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Y
Y Combinator Blog
B
Blog
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
W
WeLiveSecurity
MongoDB | Blog
MongoDB | Blog
Cloudbric
Cloudbric
N
News and Events Feed by Topic
The Cloudflare Blog
月光博客
月光博客
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
D
DataBreaches.Net
博客园 - 【当耐特】
T
Troy Hunt's Blog
V
Visual Studio Blog
V2EX - 技术
V2EX - 技术
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google Online Security Blog
Google Online Security Blog
The GitHub Blog
The GitHub Blog

博客园 - Fei飞

关于下划线的有无,和超链接的颜色变化 Action里跳转到错误页的另一种方法(struts1.2) - Fei飞 - 博客园 java获取本机IP - Fei飞 - 博客园 jdk环境变量 Tomcat虚拟路径 - Fei飞 - 博客园 杨辉三角的画法(c语言) - Fei飞 - 博客园 完成SSh构架的搭建 js表单验证控制代码大全 颜色编码表 mysql中文配置 js实现按钮控制加减 Could not execute JDBC batch update C的错误分析 用js获取select所选的值 struts中,防止F5刷新,造成重复投票方法 我是大海里的一页扁舟 JDBCTM中Statement接口提供的execute、executeQuery和executeUpdate之间的区别 html标签大全 struts标签库
类型转换和页面获取值(总爱忘的)
Fei飞 · 2008-02-18 · via 博客园 - Fei飞

String转化为int
int i = Integer.parseInt([String]);
int i = Integer.valueOf([String]).intValue();
另外:
int i  =Double.parseDouble([String]);

int转化为String
String s = String.valueOf(i);
String s = Integer.toString(i);
String s = "" + i;

获取值
String型:
String getid=(String)request.getParameter("id");
int型:
int getid=Integer.parseInt(request.getParameter("id"));