Hello^^
I am creating the [GAE+Spring+JPA] web project.
Now i have problem.
When i open other window(javascript window open), i get the 404 Error. but
it happens just Deploy Server, not local debugging server.
how can i solve this problem.
this is my code.
1. 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'
)});
- });
- }
2. NBoardManagement.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;
- }
It is rightly run at local debugging mode.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/BKietop3p3UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.