hi all....I am using a
jsp and bean.. i m using the bean to initialize a variable and using a jsp page to retrive the value.... but when i try to initialize the variable using a setX() method then the requesting jsp page will get the value 0. here is the program.
testBean.java
the controlling
servlet is :
and the jsp page is :
i searched a lot but i cant get through this problem. any ideas?