Possibly you are looking for Integer.decode instead of Integer.parseInt?

Joel Paulsson wrote:
> Thanks for the help, i think i follow. I'll have to look into why
> Integer.parseInt didn't return the value i thought it would return
> then.
> 
> On 16 Juni, 07:34, "Dean S. Jones" <[email protected]> wrote:
>> Integer.getInteger("name") gets an integer from System properties.
>>
>> it is ( roughly ) equal to:
>>
>> Integer.parseInt(System.getProperty("name"));
>>
>> So, in the GAE, what is the definition if System.getProperty() ??? You
>> have no method or means of setting them, you don't know the properties
>> of the Runtime Environment....
>>
>> Thus, it is useless to ask... and the method is not provided.
>>
>> On Jun 15, 5:00 pm, Joel Paulsson <[email protected]> wrote:
>>
>>> Hi!
>>> I run gwt as a plug-in to Eclipse and i have no errors in Eclipse, but
>>> when i run the program to hosted mode i get this error in the
>>> AppEngine Server:
>>> [ERROR] Line 53: The method getInteger(String) is undefined for the
>>> type Integer
>>> If i comment that line it works great, but using getInteger is pretty
>>> vital for me in this application so i need it to work. Can anyone help
>>> me understand why i get this error when i don't have any compilation
>>> errors and maybe find a soloution?
>>> /Joel
>>
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to