Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The module context says : <prop key="**/newjsp.portlet">SubmitFeedbackController</prop>
- and
- <bean id="SubmitFeedbackController" class="org.openmrs.module.feedback.web.SubmitFeedbackController">
- </bean>
- and SubmitFeedback controller is :
- public class SubmitFeedbackController extends PortletController {
- @Override
- protected void populateModel(HttpServletRequest request, Map<String, Object> model) {
- model.put("gaurav","gaurav");
- }
- @Override
- public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
- //compiled code
- ModelAndView s = new ModelAndView() ;
- s.addObject("gaurav", "gaurav") ;
- return s ;
- }
- }
- and newjsp.jsp is
- ${gaurav}
- but even then the content of JSP is NULL.
Advertisement
Add Comment
Please, Sign In to add comment