Why is the action class is singleton in nature? Isn't this creates a bottleneck for the requests?
Latest Answer: both are same ...
Latest Answer: Dont get confused1. In case of form, you got two options: a. Write an actual class with getter & setter method extending ActionForm b. Specify ...
Latest Answer: both are same ...
Ans: No , when we go one page to other page then we using both , but no togetherotherwise browser incompatible problem arise.
Latest Answer: Use ForwardAction class to carryout this task ...
Is there any way to define a default method for every in the action mapping of Struts-Config.XML file? If yes then how? Give a piece of code demonstrating the same.
Latest Answer: in action mapping we specify action class for particular url ie path and diffrent target view ie forwards on to which request response will be forwarded. We also specify to which page control should go if there is validation error for ex input property ...
Latest Answer: Object is the super class for Action and ActionForm as there are no immediate super classes . ...
Latest Answer: Hi to allAs Madhav specified (Struts follows MVC architecture and has many design patterns which it uses inside(ex Frontcontroller,Value Objects). )what are the other design patterns which it uses inside and can it be brief ...
Latest Answer: Static methods are BAD BAD thing, should b always prohibited. They bind u to a concrete class. Remeber the first good practice of OOP, always program to interfaces rather than classes. Use a factory with singelton rather than a static method. However ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 Next >>

Go Top