📄 companyprofile.jsp
字号:
<%--
* @author Elangovan
* @version 1.0
*
* Development Environment : Oracle9i JDeveloper
*
* Name of the File : CompanyProfile.jsp
*
* Creation/Modification History :
*
* Elangovan 26-Apr-2002 Created
*
* Overview of Application :
*
* This JSP displays the Company profile for a given Symbol.
*
*
--%>
<%-- Set Context type and characterset --%>
<%@page contentType="text/html;charset=WINDOWS-1252" language="java" %>
<%@page import="oracle.otnsamples.ibfbs.toplink.Symbol"%>
<html>
<head>
<title>OTN FBS : Company Profile</title>
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1252">
<link rel="stylesheet" href="includes/contents.css" type="text/css">
</head>
<body text="#000000" bgcolor="#FFFFEA" >
<center>
<h3 style="Text-Decoration : None" class="newsText" >OTN eZee Trading</h3>
</center>
<table width="100%" height="80%" border="1" bordercolor="#008000"
cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<%
Symbol symbol = (Symbol)session.getAttribute("SHOWPROFILE.RESPONSE");
session.removeAttribute("SHOWPROFILE.RESPONSE");
// If no data, then invalid symbol
if(symbol == null) {
%>
<font face="Verdana, Times New Roman, Times, serif" color="#FF0000">
<b>Invalid Symbol</b>
</font>
<%
} else {
// Display the company profile
%>
<br>
<font face="Verdana, Times New Roman, Times, serif" color="#990000" size="2" >
<b><%=symbol.getCompanyprofile()%></b>
</font>
<% } %>
<form name="frmClose" >
<img src="images/close.gif" onMouseUp="window.close();" value=" Close " >
</form>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -