how to write my own Action servlet by extending
pre-defined Action servlet in struts config.
Answers were Sorted based on User's Feedback
Answer / chandra
to write you r own action servlet u need to extend the
ReqestProcessor and override the methods u want...
and in struts-config.xml specify the controller
<controller
processorClass="org.apache.struts.action.RequestProcessor"
/>;
Is This Answer Correct ? | 4 Yes | 6 No |
Answer / kans
am not sure but folloing is the answer for this
we can write our own action servlet by extending
requestprocessor,requestprocessor is the class where u
define ur own methods,like processpreprocess().isUserinRole
()
Is This Answer Correct ? | 0 Yes | 8 No |
Difference between JSF Framework and Struts Framework.
13 Answers Accenture, BSS, IBM, TCS,
In web.xml file instead of *.do can i write *.ibm, Specify with example
How is forward action used for integration?
How is declarative handling of exceptions done in struts ?
Which parser is used in Struts to parse the Structconfig.xml file.
What is filter dispatcher in struts?
What is Hibernate?
what is the purpose of load_on_startup entry in struts- config.xml?
What is spring hibernate and struts in java?
What is the difference between RequestProcessor and RequestDispatcher?
11 Answers Ness Technologies, TCS,
we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
What is the role of action class?