PDA

View Full Version : Value change of Array from HTTP page


tusharb
07-16-2008, 10:04 AM
I am facing very strange problem in my software:

What I am trying to do:
1. Using Web interface I want to change the value of variable which is defined as Array
as int IPAdd[4]; I have initialized this array to default value
and given to webpage with
#web IPadd[@]
I can see the default values properly on web page
2. Now I want to change the value of IPAdd[0] using web page but its not changing it.
3. Whereas if I take simple variable int dummy_IPAdd and provide it on web page and then change it, its changing properly.

Question: Is there any problem on web page to change the array?
Please find here-with attached the code and zhtml code. Please go through it and let me know if I am doing anything wrong.