Kevin Kumar

Greenhorn
+ Follow
since Oct 24, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kevin Kumar

Thanks Merrill. I'll follow the Programming Jakarta Struts book.
15 years ago
The book 'Professional Struts Applications - Building Websites ...' says following about reset() method:

"<b>If the developer declares that the ActionForm is to be placed in the session, the reset() method will not be invoked</b>. The ActionServlet will bypass the reset() method, populate the properties in the ActionForm with the data from the user's request, and then call the validate() method of the ActionForm."

The book 'Programming Jakarta Struts' says following about the reset() method:

"For an ActionForm that has been configured with request scope, the framework will create a new instance for each new request; hence, there's not much need to reset the values back to any default state. <b>ctionForms that are configured with session scope are different, however, and this is where the reset() method comes in handy</b>."

Which one is correct?

Thanks
KK
15 years ago
Non of the above links work. Could some one please send me the pdf to lwp777@gmail.com

Thanks
KK
While we are on this subject, could someone answer this question please.

Page 597, question 6, on HF EJB book, the answer says that ejbActivate() cannot call getCallerPrinciple(). As stated above, when the container decides to call ejbActivate(), the bean is still 'referenced' (and I think client is calling a business method). So why answer B is wrong?

Thanks
KK