Followers

Friday, June 18, 2010

Struts CheckBox BUG

Hi friends,

Today I learnt about a bug in struts version 1.2

The checkbox bug :- Its quite famous among struts framework related programmers :-

The bug is that

if you uncheck a checkbox and submit a form, then the corresponding field in the targeted bean (the one in which form elements will be filled) will not be altered and hence, the next time you try to get back the data, you will have the discrepancy of a checked check-box (you will get it checked when you were expecting it to be unchecked).

This is due to the fact that, internally struts 1.2 has a setter method only if the checkbox is checked and not when its unchecked.


Googling about this may help resolve your additional doubts.

Saturday, June 5, 2010

Hi guys,

               Today I had the opportunity of sitting in amdocs fresher's walkin.

The test was conducted online :- It had the following condition:-

1) aptitude test : 20 questions 25 min

2) attention to details :20 questions 25 min

3)  passage - emphasis on attention to detail

4) Core java questions 20 questions

5) SQL - tricky 20 questions

6) Unix. 20 questions