HTTP 302 Moved temporarily Struts

Source: Internet
Author: User

    1. Request Method:post
    2. Status code:302 Moved temporarily


    1. content-length:0
    2. Date:sun, Dec 15:23:19 GMT
    3. Location:http://inspiron:8080/grandfieldrescue/login.html
    4. server:apache-coyote/1.1


A Ssh+ajax project was made and encountered an HTTP 302 error. However, there is no error message output in the MyEclipse console.

Then, only the internet, Baidu, Google several times, have not found a similar situation.

Later, only slowly analysis:


<! DOCTYPE html>


After filling in all 1, an HTTP 302 error occurs.

Then, change the type of the team attribute in the action to string, and you can pass.

In other words,struts automatically converts the strings that are filled into boxes into corresponding types;

If the conversion fails, the browser will see HTTP 302 Moved temporarily, the background card is dead.

HTTP 302 Moved temporarily Struts

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.