Home > Back-end >  Consult the response in the JSP file. SendRedirect redirection route after what will add a slash jum
Consult the response in the JSP file. SendRedirect redirection route after what will add a slash jum

Time:03-12

[description] :
The full index. The JSP file is as follows:
 & lt; % % @ page session="false" & gt; 
<% response. The sendRedirect (page "/"); % & gt;


[question] : the index of the JSP file: & lt; % response. The sendRedirect (page "/"); % & gt; This redirect page "/" in the statement, expressed to jump to any path?

Above didn't write wrong, now the server is running correctly, each account login correctly, is the index of alfresco community version of the login page JSP file; I am also very strange this path can run correctly, because the path is usually is "/page" this kind of writing;
But, in another third party sites nested iframe page tags, to open the url, embedded display server rejected your request (and also other sites, such as www.baidu.com and other sites, can be open), the feeling is "response. SendRedirect (... ) "this sentence has a problem but not sure, so put forward the question,
  • Related