Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - integer lyid = integer . parse int(request . getparameter(" lyid ")); What do you mean?
integer lyid = integer . parse int(request . getparameter(" lyid ")); What do you mean?
Is to convert the value entered in your message panel into plastic, which is the int type.

Lyid, according to my years of Chinese knowledge, should mean message ID, that is, there is a text box on your page. His name is Lyid.

Then, if you use request.getParameter("lyid "), you will get the value you entered in this text box first. However, the value obtained is a string. How to convert it into an integer? Just use the parseInt () method of the int wrapper class Integer to convert this value into an integer.

You can try, int b=lyid.

There is absolutely nothing wrong.