What is the use of RequestProcessor, if we are having
ActionServlet in struts

Answer Posted / nitilaksha m shetty

The RequestProcessor is a helper class instantiated and used
by ActionServlet to process each request that comes in. The
RequestProcessor actually does most of the work involved
when a request comes in and a response goes out. The
ActionServlet(org.apache.struts.action.ActionServlet) is
invoked each time an incoming HTTP request is received. It
then calls the
RequestProcessor(org.apache.struts.action.requestProcessor)
to determine which form bean to instantiate and which action
class to call based on the contents of your
struts-config.xml file.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java is a technology?

526


What is filter chain?

541


What is a jpanel in java?

497


What is java ee technologies?

474


public class ActionDTO extends GenericDTO implements Serializable,Auditable { // default serial version id, required for serializable classes. public static final String ACTION_SUSPEND = "SPN"; public static final String ACTION_DEREGISTER = "DRR"; public static final String ACTION_REINSTATE = "REI"; private static final long serialVersionUID = 1L; private Long actionId; private long accountId; private Date actionDate; private String actionType; private String remarks; private AccountDTO account; public ActionDTO() { } public ActionDTO(Long accountId, String action, String remarks, String updatedBy) { setAccountId(accountId); setActionType(action); setActionDate(new Date()); setRemarks(remarks); setUpdatedBy(updatedBy); } public Long getActionId() { return this.actionId; } public void setActionId(Long actionId) { this.actionId = actionId; } public long getAccountId() { return this.accountId; } public void setAccountId(long accountId) { this.accountId = accountId; } public Date getActionDate() { return this.actionDate; } public void setActionDate(Date actionDate) { this.actionDate = actionDate; } public String getActionType() { return this.actionType; } public void setActionType(String actionType) { this.actionType = actionType; } public String getRemarks() { return this.remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } // bi-directional many-to-one association to AccountDTO public AccountDTO getAccount() { return this.account; } public void setAccount(AccountDTO account) { this.account = account; } @Override public String toString() { // TODO Auto-generated method stub return null; } } what is the purpose of @Override public String toString()...and what will do here ?

2185






What is java developer job description?

482


Describe action form?

528


i want test pattern of zylog company and some examples also

2302


What are the four components of j2ee application?

565


Why java is called portable language?

501


Which edition of java is used for web application?

477


Why is java robust?

664


What is j2ee technology?

554


How do I become a java developer?

491


Why is java more secure?

490