request.getParameter()问题

2025-01-01 01:11:06
推荐回答(1个)
回答1:

int age = 0;
try{
age = Integer.parseInt(request.getParameter("age"));
}catch(NumFormatException e){}