HTTP Status 404-/PROJECT/DELETEPROJECTREBACK/18

Source: Internet
Author: User

"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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.