![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : When we deploy our application in the server, at first the container reads the information from web.xml file.Here ActionServlet object will be created and init() of ActionServlet will be called.Here ActionServlet is the backbone to the whole application.When ... Latest Answer : These are the tags we can define ,,,,, ... Latest Answer : Tokens are used to prevent multi click problem in struts. In Action class method at the begining of the code, need to call the saveToken() that generates an unique identifier for the "request url" and stotes it in the session and also in the ... need answer Latest Answer : Struts implements MVC design so that we can divide the web application in to view, data access/modify and controller layers. JSPs and HTMLs are come into view, when a user enters data into form and submits a request, it goes to Action servlet, in which ... Read Answers (4) | Asked by : saraswati 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 ... Question: Assuming the class LoginForm contains a String property named "password", how does the LoginAction class access the attribute called "password" in the above request? Explain why.Choice 1 String password = request.getParameter("password"); Choice 2 String password = request.getAttribute("password"); Choice 3 request.getParameterNames().getParameter("password"); Choice 4 String password = ((LoginForm) Read Answers (5) | Asked by : N Latest Answer : Hi,
If the client comes to the struts application then the flow of control will be..
1) The request received by hte ActionServlet which is the default Controller in Struts...
2)ActionServlet then call RequestProcesser.preProcess method to ... Read Answers (5) | Asked by : kalpana Latest Answer : saveToken() method is used for duplicate form submission.Let's take an example i.e. yahoo email registration formYou filled the form and press the "submit" button more than once.For each action you do there is a request object associted with that.So when ... Read Answers (1) | Asked by : selva
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||