The difference between server-side jump and client-side jump

Source: Internet
Author: User

There are two ways to jump in a Jsp (this is simply a way of not passing parameters):

<1><jsp:forward page= " URL " flush= " true " >(server-side jump)

<2>response.sendredirect ("url"); (client jump)

The difference between the two methods can be used to indicate:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/C5/wKiom1hX26bzLbG8AAA7n5-6kos354.png-wh_ 500x0-wm_3-wmp_4-s_3225200445.png "title=" image 1.png "alt=" Wkiom1hx26bzlbg8aaa7n5-6kos354.png-wh_50 "/>

When the client jumps, directly by the client to jump to another page, in the URL address will not show the address after the jump, the server-side jump, the client will send a jump request to the client, there is a client to access the page to jump to, the URL address will now show the address after the jump.


This article is from the "Java" blog, so be sure to keep this source http://a001807.blog.51cto.com/9804844/1884061

The difference between server-side jump and client-side jump

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.