-
Feb 10th, 2013, 11:29 PM
#1
returned JSP via ModelAndView displayed as readonly
I use the ajax call to the Spring (3.6) to retrieve a JSP:
public ModelAndView getMyPage(HttpServletRequest request, HttpServletResponse response) throws Exception {
ModelAndView modelAndView = null;
String jsp = /pages/test; //there is a page named: test.jsp
modelAndView = new ModelAndViewjsp);
return modelAndView;
}
Front end:
1) Use simple ajax callback function
element.innerHTML = ajaxRequest.responseText;
Or
2) use prototype.js framework.
In both cases, the page is returned but always displayed as readonly, though the page is editable. Also after redisplay the page, all the link on the screen became readonly and can not be clicked on.
What could be wrong?
Thanks to help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules