Hi all,
I am trying to pass Color values like 0xeeeeee or
0xEEEEEE as values to parameters from a get post (in
the header). However I am unable to process the value
into an integer value which is a requirement for the
Color(int) constructor I will use to create the new
color based on this passed value, I have tried 

<code>
int
colorvalue=Integer.parseInt(req.getParameterValue("ColorParameter"));

</code>

It is throwing an NumberFormatException which I am
printing displaying the actual value of the parameter
e.g 

<output> NumberFormatException : 0xEEEEEE </output> 

Could anyone kindly tell me how to process this value
of the parameter into an integer value so I may pass
it to the Color(int) constructor.
Thanks. 
Allan.




__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to