| Message view | « Date » · « Thread » |
|---|---|
| Top | « Date » · « Thread » |
| From | Srinivasu Gandu <SGa...@SoftwareSpecialists.com> |
| Subject | NumberFormatException |
| Date | Mon, 14 Apr 2003 20:14:50 GMT |
When I try to convert a string into int why do I get this exception... java.lang.NumberFormatException: null My class contains import java.util.* I tried int empid = Integer.parseInt(empidstr); and int empid = Integer.valueOf(empidstr).intvalue(); In both ways I am getting this error. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org | |
| Mime |
|
| View raw message | |