Announcement Announcement Module
No announcement yet.
Tiles view searching view defined in XML view resolver for JSON view Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tiles view searching view defined in XML view resolver for JSON view

    Dear All,

    I am having two independent views jsp and JSON respectively. JSP view is handled by Tiles Definition view configured using org.springframework.web.servlet.view.InternalResou rceViewResolver.

    Another view JSON is being resolved thru org.springframework.web.servlet.view.XmlViewResolv er.

    From my application controller, view name will be returning as String. For example,
    public ModelAndView tilesView(HttpServletRequest request, HttpServletResponse response){
             return new ModelAndView("tilesView",model,Map);
    public ModelAndView jsonView(HttpServletRequest request, HttpServletResponse response) throws Exception {
    		return new ModelAndView("jsonView");
    I am getting both the views successfully. But only thing is from System log file error is thrown by WAS application server like below message:
    00000033 servlet E service SRVE0068E: Uncaught exception created in one of the service methods of the servlet Myservlet in application MyservletTest_war. Exception created : javax.servlet.ServletException: No Tiles definition found for name 'jsonView'
    Please let me know the reason for this error and solution to fix the same.

    Thanks in advance!!

    Ponnusamy G