"HTTP Status 404-/PROJECT/DELETEPROJECTREBACK/18", this error was reported today when using Jfinal's Getpara (0) to get the parameters.
Memory tip: The first parameter is a string type that gets the field value of the form or the question mark in the URL. The first parameter, int, or no parameter, gets the value of the parameter in Urlpara.
For the Jfinal Official document described this sentence, I still do not understand, to solve the problem in the title is obviously not helpful, do not understand, how to use it?
Look again
My "programmer nature" again committed, clearly my url "/project/deleteprojectreback/18", is such a type Ah, but also reported the "HTTP Status 404" error, That is, the server does not find the corresponding controller, it is strange!!!!!!!!!
Then distressed for a long, hard to explore a while, found himself guilty 2!
href="/project/deleteProjectReback/${deal_item.id}?callbackType=forward"
I'm missing the mapping parameters for the project
<c:set var="ctx" value="${pageContext.request.contextPath}" />href="${ctx}/project/deleteProjectReback/${deal_item.id}?callbackType=forward"
conclusion : Jfinal's Getpara series method is really good, in use, please ensure that the correct path, is a small warning!
Copyright notice: This site blog is qing_gee original article, if you need to quote, reprint, only need to indicate the source and the original link.
HTTP Status 404-/PROJECT/DELETEPROJECTREBACK/18