About Web development

zhaozj2021-02-12  145

Excerpt from the moon

1, don't use the pop-up window

2, don't use the frame

After using the above things, the jump control of the page will become very complicated, for example

1. Added pages use pop-up windows, add success to close the current window? If not closed, is the current document that allows the current user to continue to modify it? If closed, how do the original list page do update? If new fails, how do you do it? If the user does not save and directly turn off the pop-up window, is List.jsp refreshed? How to determine if there is new data?

2. Redirection of session time out: Direction directly in the pop-up window? Redirect within the current sub-frame? The top page of list.jsp is redirected? The answer is of course on the top level redirection, but the exception occurs in the pop-up window, because all error pages are processed within the same error.jsp, then redirect can be redirected in the topmost in the topmost. It is very ugly that the code will be written.

转载请注明原文地址:https://www.9cbs.com/read-6292.html

New Post(0)