Hello^^
I am creating the GAE+Spring+JPA web project.
Now i have probem.
When i open other window at jsp page, i got the 404 error page.
but it is just deploy server, not local debugging server.
here is my code.
- NBoardList.jsp: view page
- function showContents(id, listIndex){
- $.getJSON('contentsView/'+id, function(result){
- $('#contentsTitle').text(result.title);
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- $('#contentsContents').html(result.content);
- $('#updateBut').click(function(){window.open('updateView/'+id+'?listIndex='+listIndex+'&random='+Math.random(),'updateView','location=yes,status=yes,width=1000,height=800,resizable=yes' )});
- });
- }
- NBoardUpdate.java: controller
- @RequestMapping("/updateView/{nBoardID}")
- public ModelAndView updateView(@PathVariable Long nBoardID, @RequestParam("listIndex") int listIndex, HttpServletRequest request){
- ModelAndView mv = new ModelAndView("NoticsBoard/NboardUpdate");
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- return mv;
- }
This code local GAE Server is rightly run...