hi, i m starting a new project and was wondering how to do database connectivity and access, i had a sample progrm from struts1+spring+hibernate it works fine. do i need to use spring with struts2 also. how to go ahead.
i migrated to
struts 2 my strut1 app and it is not working, when i use
public static ApplicationContext getContext(HttpServletRequest httpRequest) {
return WebApplicationContextUtils.getRequiredWebApplicationContext(
httpRequest.getSession().getServletContext());
}
i m getting null value, something is wrong and i have no clue at all what to do.