File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What's wrong with this line?
Joined: Sep 10, 2001
Mar 05, 2002 14:12:00
int count = Integer.parseInt(data.getSession().getAttribute(username));
username is a
Joined: Dec 10, 2001
Mar 05, 2002 15:04:00
username might be a String, but does data.getSession().getAttribute(String) return a String?
How To Ask Good Questions
JavaRanch FAQ Wiki
Joined: May 17, 2001
Mar 05, 2002 18:20:00
Is username made up of all numbers. You are trying to parse a username into an int called count.
Joined: Feb 26, 2001
Mar 06, 2002 07:08:00
I think he posted what he actually meant in this thread:
I agree. Here's the link:
subject: What's wrong with this line?
Query regarding Session Tracking
RMI and DHCP in the SCJD
problem with connecting to a SQLServer database
Read NT User Name
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015