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.
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. 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...
--
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/-/mO2MwCvO5rkJ.
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.