📄 transferfunds_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class transferFunds_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
com.sun.ebank.web.CustomerBean customerBean = null;
synchronized (request) {
customerBean = (com.sun.ebank.web.CustomerBean) _jspx_page_context.getAttribute("customerBean", PageContext.REQUEST_SCOPE);
if (customerBean == null){
customerBean = new com.sun.ebank.web.CustomerBean();
_jspx_page_context.setAttribute("customerBean", customerBean, PageContext.REQUEST_SCOPE);
}
}
out.write('\n');
com.sun.ebank.web.TransferBean transferBean = null;
synchronized (request) {
transferBean = (com.sun.ebank.web.TransferBean) _jspx_page_context.getAttribute("transferBean", PageContext.REQUEST_SCOPE);
if (transferBean == null){
transferBean = new com.sun.ebank.web.TransferBean();
_jspx_page_context.setAttribute("transferBean", transferBean, PageContext.REQUEST_SCOPE);
}
}
out.write('\n');
org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(_jspx_page_context.findAttribute("customerBean"), "customer", "${pageContext.request.userPrincipal.name}", null, null, false);
out.write("\n<c:set var=\"accounts\" value=\"");
out.write("${customerBean.accounts}");
out.write("\" />\n<center>\n<table border=0 cellpadding=2 cellspacing=0 width=500 summary=\"layout\">\n <tr>\n <td valign=\"top\" colspan=\"4\"> \n \t\t<c:url var=\"url\" value=\"/transferAck\" />\n <form name=\"transfer\" method=\"post\" action=\"");
out.write("${url}");
out.write("\" >\n <table border=1 cellpadding=2 cellspacing=0 summary=\"layout\">\n <tr>\n <td><b><fmt:message key=\"AccountName\"/></b></td>\n <td><b><fmt:message key=\"AccountId\"/></b></td>\n <td><b><fmt:message key=\"AccountBalance\"/></b></td>\n <td><b><fmt:message key=\"AccountFrom\"/></b></td>\n <td><b><fmt:message key=\"AccountTo\"/></b></td>\n </tr>\n <c:forEach items=\"");
out.write("${accounts}");
out.write("\" var=\"ad\">\n <tr>\n <td>");
out.write("${ad.description}");
out.write("</td>\n <td>");
out.write("${ad.accountId}");
out.write("</td>\n <td align=\"right\"><fmt:formatNumber value=\"");
out.write("${ad.balance}");
out.write("\" type=\"currency\" /></td>\n <td><input type=\"radio\" name=\"fromAccountId\" value=\"");
out.write("${ad.accountId}");
out.write("\"></td>\n <td><input type=\"radio\" name=\"toAccountId\" value=\"");
out.write("${ad.accountId}");
out.write("\"></td>\n </tr>\n </c:forEach>\n </table>\n </td>\n </tr>\n\n <tr>\n <td><b><fmt:message key=\"TransferAmount\"/></b></td>\n <td><input type=\"text\" size=\"15\" name=\"transferAmount\"></td>\n <td><input type=\"submit\" value=\"<fmt:message key='Submit'/>\"></td>\n <td><input type=\"reset\" value=\"<fmt:message key='Clear'/>\"></td>\n </form>\n </tr>\n\n</table>\n</center>\n");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -