This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am working with struts and in my application i have to fill a customer form when he is comming for laon andafter filling the form that data is going into database,
when we are going to varify the user information then we have that particular page in another stage in disable modewith all values which we entered in first stage,
my problem is that when i m entering the information in form the data is going into the databse but in next stage when i want to verify the user information that time the fields are coming in disable mode but the dorpdown texts value is not coming at first time and simple text value is coming ...as i refersh the page then all values are comming(text and dropdown),
i used another schema for the same application and in another schema the value is populating at first time .
so i am confuse what is happing and how to solve it..
As per my understanding you want to populate some data before action is triggered then your action class should implement preparable interface and override prepare method and in add prepare interceptor.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.