📄 mailhomepage.jsp
字号:
<!--
Checking with the help of ConnectionBean and UserCredentials
that the connection established or not due to any reason.
If yes then it calls Frames.jsp and if not then it calls LoginPage.jsp
-->
<jsp:useBean id="MyConnectionBean" scope="session" class="UserPack.ConnectionBean"/>
<jsp:useBean id="MyBean" scope="session" class="UserPack.MailUserCredentials"/>
<jsp:setProperty name="MyBean" property="*" />
<%
MyConnectionBean.establishConnection(MyBean.getUser(),MyBean.getPassword());
if((MyConnectionBean.checkLogin()) == 0){
%>
<jsp:forward page="LoginPage.jsp" />
<% }else{ %>
<jsp:forward page="Frames.jsp" />
<% } %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -