Refresh Your Java - Before Java Interview
We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....
Yes.
i) ContextLoaderPlugin
To configure
this plug-in, add the following XML to the plug-ins section near
the bottom of your struts-config.xml file:
The
location of the context configuration files can be customized
using the "contextConfigLocation"
property.
<plug-in
className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property
property="contextConfigLocation"
value="/WEB-INF/action-servlet.xml.xml,/WEB-INF/applicationContext.xml"/>
</plug-in>
ii) <controller>
<set-property
property="processorClass"
value="org.springframework.web.struts.DelegatingRequestProcessor"/>
</controller>
iii) ActionSupport Classes
public class YourAction extends DispatchActionSupport {
public ActionForward
execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
WebApplicationContext ctx = getWebApplicationContext();
UserManager mgr = (UserManager)
ctx.getBean("userManager");
return mapping.findForward("success");
}
}
This Portal is intended to put all Java/J2ee related topics at one single place for quick referance, not only Technical , but also the Project Management Related thing such as Development Process methodoogies build process, unit testing etc.,
This Portal has More than 500 Java Interview Questions (also could be Considered as Quick Notes) very neatly separated topic by topic with simple diagrams which makes you easily understandable. Importantly these are from our Realtime expericance.