jollyplay
Programmer
- Dec 16, 2003
- 90
Hi,
I'm getting this error while submiting the form. This code is working fine in localhost as well as working in our testing server.
But I have uploaded to our clients server and facing this issue. I dont know why.
Kindly help me.
This is my code,
<code>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/pager-taglib.tld" prefix="pg" %>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Buying Buzz" content="">
<meta name="keywords" content="Buying Buzz">
<meta name="description" content="Buying Buzz ">
<script type="text/javascript">
function put()
{
txt=document.forms[0].myList.options[document.forms[0].myList.selectedIndex].text
document.forms[0].favorite.value=txt
}
</script>
<script type="text/javascript">
function set()
{
var x=document.images
x[0].src="arrow1.gif"
}
function set1()
{
var x=document.images
x[0].src="arrow.gif"
}
</script>
<script type="text/javascript">
function valid()
{
var industry=document.StocksForm.industry.value
if(industry=="Any")
{
alert("Please select any option for Industry")
return false
}
}
</script>
</head>
<title>Buying Buzz</title>
</head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" vlink="blue">
<%
int n=0;
try
{
n=Integer.parseInt((session.getAttribute("size").toString()));
}
catch(Exception e)
{
%>
<jsp:forward page="/error.do"/>
<%}%>
<%@include file="../html/bbheader.htm"%>
<html:form action="/ResultdisplayforStocks.do" onsubmit="return valid()">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1003" id="AutoNumber5" height="349">
<tr>
<td width="652" height="349" valign="top" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15" height="508">
<tr>
<td width="100%" height="508" valign="top">
<table width="1000" height="507" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19" width="1004">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1002" id="AutoNumber17" height="72">
<tr>
<td width="9" height="20"> </td>
<td width="152" height="20">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber25" height="67">
<tr>
<td width="100%" height="28" align="left"><b>
<font face="Verdana" style="font-size: 9pt" color="#EA7500">SEARCH</font></b></td>
</tr>
</table>
</td>
<td width="154" height="20"> </td>
<td width="154" height="20"> </td>
<td width="329" height="20" colspan="2">
</td>
<td width="204" height="20"> </td>
</tr>
<tr>
<td width="90" height="23"> </td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">INDUSTRY:</font></td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">CAPITAL:</font></td>
<td width="190" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">TRAILING P/E RATIO:</font></td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">PROFIT MARGIN:</font></td>
</tr>
<tr>
<td width="90" height="29"></td>
<td width="195" height="29">
<html:select property="industry" value="<%=session.getAttribute("Industry").toString()%>"style="WIDTH: 125px; font-family:Microsoft Sans Serif; font-size:8pt" >
<htmlption value="Any">Any</htmlption>
<htmlption value="Bank">Banking</htmlption>
<htmlption value="Healthcare Services">Healthcare Services</htmlption>
<htmlption value="Construction">Building/Construction</htmlption>
<htmlption value="Aerospace">Aerospace</htmlption>
<htmlption value="Apparel">Apparel</htmlption>
<htmlption value="Automotive">Automotive</htmlption>
<htmlption value="Chemical">Chemical</htmlption>
<htmlption value="Computer Hardware">Computer Hardware</htmlption>
<htmlption value="Consumer Durables">Consumer Durables</htmlption>
<htmlption value="Defense Contractors">Defense Contractors</htmlption>
<htmlption value="Energy">Energy</htmlption>
<htmlption value="Financial Services">Financial Services</htmlption>
<htmlption value="Food Processing">Food Processing</htmlption>
<htmlption value="Insurance">Insurance</htmlption>
<htmlption value="Medical Equipment">Medical Equipment</htmlption>
<htmlption value="Media">Media</htmlption>
<htmlption value="Retailing">Retailing</htmlption>
<htmlption value="Shipping">Shipping/Distribution</htmlption>
<htmlption value="Software">Software</htmlption>
<htmlption value="Telecommunications">Telecommunications</htmlption>
<htmlption value="Utilities">Utilities</htmlption>
</html:select>
<td width="195" height="29">
<html:select property="capital" value="<%=session.getAttribute("Capital").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 2,000</htmlption>
<htmlption value="between">2,000 - 9,999</htmlption>
<htmlption value="more">morethan 10,000</htmlption>
</html:select>
</td>
<td width="190" height="29">
<html:select property="trailing" value="<%=session.getAttribute("Trailing").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 20</htmlption>
<htmlption value="between">20 - 40</htmlption>
<htmlption value="more">morethan 40</htmlption>
</html:select>
</td>
<td width="195" height="29">
<html:select property="profit" value="<%=session.getAttribute("Profit").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 0.20</htmlption>
<htmlption value="between">0.20 - 0.299</htmlption>
<htmlption value="more">morethan 0.30</htmlption>
</html:select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="488" width="1004" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1004" id="AutoNumber16">
<tr>
<td width="182"></td>
<td width="568" colspan="3">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="88%" height='47'>
<param name=movie value="/stocks/images/button02.swf">
</object>
</td>
<td width="250"></td>
</tr>
<tr>
<td width="182"></td>
<td width="570" align="center">
<input size="20%" type="image" src="/stocks/images/result.gif" border="1"></td>
<td width="248"></td>
</tr>
</html:form>
<tr> <td width="1000" colspan="3"> </td>
</tr>
<tr>
<td width="102" bgcolor="#E7F2C9" HEIGHT="14" style="border-left-width: 1; border-right: 1px solid #A5A5A5; border-top-width: 1; border-bottom-width: 1">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt">
CRITERIA</font></b></td>
<td width="657" bgcolor="#E7F2C9" HEIGHT="20">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt"> SEARCH RESULTS</font></b></td>
<td width="238" bgcolor="#E7F2C9" HEIGHT="14" style="border-left: 1px solid #A5A5A5; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt"> NEWS AND
EVENTS</font></b></td>
</tr>
<tr>
<td width="1000" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#A5A5A5" width="1000" id="AutoNumber18" height="134">
<tr>
<td width="170" height="134" valign="top" style="border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber28">
<tr>
<td width="100%" height="12"><font size="2" face="Microsoft Sans Serif">
<P id=d4 style="DISPLAY: none; BACKGROUND-COLOR: #eeeeee">
<p></p>
</font></td>
</tr>
<tr>
<td width="100%" height="1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber22" height="38">
<tr>
<td width="169" height="12" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber33">
<tr>
<td width="3%"> </td>
<td width="10%">
<p style="color:blACK; cursor: hand;" onmouseover="document.all.E.style.display= document.all.E.style.display=='none' ? '' : 'none'" onclick="document.all.E.style.display= document.all.E.style.display=='none' ? '' : 'none'" onmouseout="document.all.E.style.display= document.all.E.style.display=='' ? 'none' : 'none'" onmouseout="document.all.E.style.display= document.all.E.style.display=='' ? 'none' : 'none'" align="center">
<img border="0" src="/stocks/images/arrow.gif" align="left" name="arr1" onmouseover="document.arr1.src='/stocks/images/arrow1.gif'" onmouseout="document.arr1.src='/stocks/images/arrow.gif'" width="9" height="12" ></td>
<td width="87%">
<p>
<font face="Microsoft Sans Serif" style="font-size: 7pt">
<strong>TRAILING P/E RATIO</strong></font></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="8" bgcolor="#EEEEEE">
</td>
<td width="154" bgcolor="#EEEEEE">
<p id=E style="display:none" align="left"><font size="2" face="Microsoft Sans Serif">
is the ratio of the stock price to earnings-per-share. A high P/E
reflects an optimism about future earnings. Different industries
have distinct P/E histories and so this ratio should be employed
carefully, usually only among companies within the same industry.</font></p></td>
<td width="7" bgcolor="#EEEEEE">
</td>
</tr>
<tr>
<td width="169" height="3" colspan="3">
</td>
</tr>
<tr>
<td width="169" height="9" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber23">
<tr>
<td width="169" height="12" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber34">
<tr>
<td width="4"> </td>
<td width="15">
<p style="color:blACK; cursor: hand;" onmouseover="document.all.f.style.display= document.all.f.style.display=='none' ? '' : 'none'" onclick="document.all.f.style.display= document.all.f.style.display=='none' ? '' : 'none'" onmouseout="document.all.f.style.display= document.all.f.style.display=='' ? 'none' : 'none'" align="center">
<img border="0" src="/stocks/images/arrow.gif" align="left" name="arr2" onmouseover="document.arr2.src='/stocks/images/arrow1.gif'" onmouseout="document.arr2.src='/stocks/images/arrow.gif'" width="9" height="12" >
</td>
<td width="150">
<p>
<font face="Microsoft Sans Serif" style="font-size: 7pt">
<strong> MARKET CAPITALIZATION </strong></font><span style="font-size: 8pt">
</span>
</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="8" bgcolor="#EEEEEE">
</td>
<td width="153" bgcolor="#EEEEEE">
<p id=f style="display:none" align="left"><font size="2" face="Microsoft Sans Serif">is a measure of size of the firm and is calculated by multiplying
the number of shares by the share price. Size can be a significant
influence of performance for hypothetically larger companies
possess more leverage in negotiations with distributors as well
as more economy of scale advantages relative to suppliers/vendor.</font></p>
</td>
<td width="8" bgcolor="#EEEEEE">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="3"></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="1" valign="top">
</td>
</tr>
</table>
</td>
<td width="604" height="134" valign="top">
<%if(n<1)
{
%> <br><br><br><center>
<font size="3" face="Microsoft Sans Serif" color='red'>Sorry !!! No Results found matching your criteria</font>
<br><br>
<% }
else
{
%>
<pgager id="test" export="currentPageNumber=pageNumber">
<%int quo=0,remain=0,iFrom=0,iTo=0,page1=0;
quo=n/10;
page1=currentPageNumber.intValue()-1;
remain=(n%10)-1;
if(n<=10)
{
iFrom=(page1*10)+1;
iTo=n;
}
else if(n>10)
{
if(quo==page1)
{
iFrom=(page1*10)+1;
iTo=iFrom+remain;
}
else
{
iFrom=(page1*10)+1;
iTo=iFrom+9;
}
}
%>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber30" height="1">
<tr>
<td height="1">
</td>
</tr>
<tr>
<td width="1%" valign="top" height="26" bgcolor="#BBD6EF">
</td><td width="74%" height="26" bgcolor="#BBD6EF"><font size='2' face='ms sans serif'> Showing <%=iFrom%> - <%=iTo%> over <%=n%> Stocks </font></td>
<%if(n>=4)
{%>
<td width="53" height="18" bgcolor="#BBD6EF" align="right"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height='17'><param name=movie value="/stocks/images/arrow_ani.swf"></object></td>
<td width="16%" height="26" bgcolor="#BBD6EF" align="left"><html:link href="/stocks/bargainSearchforStocks.do"><img src="/stocks/images/click.gif" border="0"></html:link></td><%}%>
</tr>
<tr>
<td width="100%" height="1" colspan="4">
<logic:iterate id="displayresult" name="stocksDisplay">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#B7B7FF" width="100%" id="AutoNumber1">
<pg:item><tr>
<td width="25%" rowspan="6" valign="top">
<table>
<tr>
<td width="150" rowspan="6" height="100">
</td>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Name</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="bankname"/> </font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Price</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<b> $ <bean:write name="displayresult" property="price"/> </b>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Profit Margin</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="profit"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Market Capitalization</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
$ <bean:write name="displayresult" property="capital"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Trailing P/E Ratio</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="trailing"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Gross Profit</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
$ <bean:write name="displayresult" property="gross"/>
</font>
</td>
</tr>
</tr>
</table>
</td>
</tr> </pg:item>
</table>
</center>
</logic:iterate>
</td>
</tr>
<pg:index >
<%if(quo<=6){%>
<font face="Microsoft Sans Serif" style="font-size: 9pt">Browse Pages:</font>
<pg:first>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">First</font></a>
</pg:first>
<pgrev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pgrev>
<pgages>
<%
if (pageNumber == currentPageNumber)
{
%><font color="black" face="verdana" style="font-size: 8pt"><b><%= pageNumber %></b></font><%
} else {
%><font color="black" face="verdana" style="font-size: 8pt"><a href="<%= pageUrl %>"><%= pageNumber %></a></font><%
}
%><font color="black" face="verdana" style="font-size: 8pt"> | </font>
</pgages>
<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>
<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>
<%}
else{
%>
<font face="Microsoft Sans Serif" style="font-size: 9pt">Browse Pages:</font>
<pg:first>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">First</font></a>
</pg:first>
<pgrev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pgrev>
<pgages>
<%
if (pageNumber == currentPageNumber)
{
%><font color="black" face="verdana" style="font-size: 8pt"><b><%= pageNumber %></b></font><%
} else {
%><font color="black" face="verdana" style="font-size: 8pt"><a href="<%= pageUrl %>"><%= pageNumber %></a></font><%
}
%><font color="black" face="verdana" style="font-size: 8pt"> | </font>
</pgages>
<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>
<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>
<%}%>
</pg:index>
</pgager>
</table>
<%}%>
</td>
<td width="226" height="134" valign="top" style="border-left-style: solid; border-left-width: 1; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber29" height="210">
<tr>
<td width="100" height="210" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="226%" id="AutoNumber39">
<tr>
<td width="2%" height="321"> </td>
<td width="281%" height="321" valign="top">
<font size="2" face="Microsoft Sans Serif"><br>
<font color="#666666">As of late June the stock market is down 1.6% year-to-date and only up 1.4% in the past 12 months; by comparison real-estate median prices have soared 15.1% in the past year.<br>
<br>Some optimistic analysts have suggested 2005 may repeat the 2004 pattern of a sluggish 1st 6 months followed by a rallying latter 6 months. However historical research suggests that recovery pattern is NOT typical; in fact, what is more commonplace is a stagnant summer of languishing stock market prices. A June 22nd Wall Street Journal article entitled “Stocks Won’t Always Laugh Over $60 Oil” suggests that the inevitable inflation and rising interest rates forthcoming with higher energy costs will ultimately take its toll and the stock market will actually decline.<br>
<br>But we at BuyingBuzz are more confident. Globalization and competition should maintain a rein on inflation. We believe a spurt similar to the one a decade ago is on the horizon. Greenspan has raised interest rates 2 % over the past year and appears satisfied that is enough. The decade ago lesson we remind readers of is “that when the Fed stops, the BULLS run” The S&P 500 54% runup from December 1994 to May 1996 followed a period of 7 interest rate hikes that ensued in 1993/4 and then stopped.<br>
<br>Our confidence is buoyed by recognition of the demographics that influence the market.
Share Ownership 2000 ( reported that 84 million or 43% of the adult US population held shares in 1999. The 84 million figure was up 21% over 1994 and 61% over 1989. The increased participation in self-directed employee retirement accounts , growing use of stock options for employees and the popularity of equity mutual funds has contributed to the surge. And an oft-overlooked factor is the propensity for stock ownership to increase linearly with rising age and income; the great percentage of the US population is in the baby-boom stage that historically has been most active in the marketplace. Add to these influences the impact of online day-trading, the prospects of some form of Social Security privatization and even the education of the young regarding the stock market and one can understand our confident perspective. On the latter point, the education of the young, we were pleasantly surprised to find a cute Public Broadcasting System “Investing 101" class at
So this leads to the question where to invest? We follow more than 35 industry markets and try to diversify our portfolios. But one hint to follow is to track the “average age” that the automotive industry has always used to project new car sales; once the average age of vehicle registrations reaches 7 years one can rest assured that consumers will dive into the new car market instead of continuing to repair old ones. We perceive the PC hardware industry is about to experience a golden revival as people seek replacements for their older models equipped with obsolete operating systems. Multiple ownership of PCs is becoming far more prevalent within households. And the increasing number of gamers contributes for they are the “heavy hitters” of the PC industry, trading up often, to acquire the speed and storage to run the sexier, newer games. The medical equipment industry is another investment area as we envision defibrillator demand to soar. Stay tuned for BuyingBuzz updates on this site and good luck.<br> </font></font>
<p><font color="#666666" size="2" face="Microsoft Sans Serif"> </font>
</td>
<td width="5%" height="321" valign="top"> </td>
</tr>
<tr>
<td width="5%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%@include file="../html/bbfooter.htm"%>
</body>
</html:html>
</code>
Thanks in advance.
I'm getting this error while submiting the form. This code is working fine in localhost as well as working in our testing server.
But I have uploaded to our clients server and facing this issue. I dont know why.
Kindly help me.
This is my code,
<code>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/pager-taglib.tld" prefix="pg" %>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Buying Buzz" content="">
<meta name="keywords" content="Buying Buzz">
<meta name="description" content="Buying Buzz ">
<script type="text/javascript">
function put()
{
txt=document.forms[0].myList.options[document.forms[0].myList.selectedIndex].text
document.forms[0].favorite.value=txt
}
</script>
<script type="text/javascript">
function set()
{
var x=document.images
x[0].src="arrow1.gif"
}
function set1()
{
var x=document.images
x[0].src="arrow.gif"
}
</script>
<script type="text/javascript">
function valid()
{
var industry=document.StocksForm.industry.value
if(industry=="Any")
{
alert("Please select any option for Industry")
return false
}
}
</script>
</head>
<title>Buying Buzz</title>
</head>
<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" vlink="blue">
<%
int n=0;
try
{
n=Integer.parseInt((session.getAttribute("size").toString()));
}
catch(Exception e)
{
%>
<jsp:forward page="/error.do"/>
<%}%>
<%@include file="../html/bbheader.htm"%>
<html:form action="/ResultdisplayforStocks.do" onsubmit="return valid()">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1003" id="AutoNumber5" height="349">
<tr>
<td width="652" height="349" valign="top" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15" height="508">
<tr>
<td width="100%" height="508" valign="top">
<table width="1000" height="507" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19" width="1004">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1002" id="AutoNumber17" height="72">
<tr>
<td width="9" height="20"> </td>
<td width="152" height="20">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber25" height="67">
<tr>
<td width="100%" height="28" align="left"><b>
<font face="Verdana" style="font-size: 9pt" color="#EA7500">SEARCH</font></b></td>
</tr>
</table>
</td>
<td width="154" height="20"> </td>
<td width="154" height="20"> </td>
<td width="329" height="20" colspan="2">
</td>
<td width="204" height="20"> </td>
</tr>
<tr>
<td width="90" height="23"> </td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">INDUSTRY:</font></td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">CAPITAL:</font></td>
<td width="190" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">TRAILING P/E RATIO:</font></td>
<td width="195" height="23">
<font face="Microsoft Sans Serif" style="font-weight: 700" size="1">PROFIT MARGIN:</font></td>
</tr>
<tr>
<td width="90" height="29"></td>
<td width="195" height="29">
<html:select property="industry" value="<%=session.getAttribute("Industry").toString()%>"style="WIDTH: 125px; font-family:Microsoft Sans Serif; font-size:8pt" >
<htmlption value="Any">Any</htmlption>
<htmlption value="Bank">Banking</htmlption>
<htmlption value="Healthcare Services">Healthcare Services</htmlption>
<htmlption value="Construction">Building/Construction</htmlption>
<htmlption value="Aerospace">Aerospace</htmlption>
<htmlption value="Apparel">Apparel</htmlption>
<htmlption value="Automotive">Automotive</htmlption>
<htmlption value="Chemical">Chemical</htmlption>
<htmlption value="Computer Hardware">Computer Hardware</htmlption>
<htmlption value="Consumer Durables">Consumer Durables</htmlption>
<htmlption value="Defense Contractors">Defense Contractors</htmlption>
<htmlption value="Energy">Energy</htmlption>
<htmlption value="Financial Services">Financial Services</htmlption>
<htmlption value="Food Processing">Food Processing</htmlption>
<htmlption value="Insurance">Insurance</htmlption>
<htmlption value="Medical Equipment">Medical Equipment</htmlption>
<htmlption value="Media">Media</htmlption>
<htmlption value="Retailing">Retailing</htmlption>
<htmlption value="Shipping">Shipping/Distribution</htmlption>
<htmlption value="Software">Software</htmlption>
<htmlption value="Telecommunications">Telecommunications</htmlption>
<htmlption value="Utilities">Utilities</htmlption>
</html:select>
<td width="195" height="29">
<html:select property="capital" value="<%=session.getAttribute("Capital").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 2,000</htmlption>
<htmlption value="between">2,000 - 9,999</htmlption>
<htmlption value="more">morethan 10,000</htmlption>
</html:select>
</td>
<td width="190" height="29">
<html:select property="trailing" value="<%=session.getAttribute("Trailing").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 20</htmlption>
<htmlption value="between">20 - 40</htmlption>
<htmlption value="more">morethan 40</htmlption>
</html:select>
</td>
<td width="195" height="29">
<html:select property="profit" value="<%=session.getAttribute("Profit").toString()%>" style="WIDTH: 125px; font-size:8pt; font-family:Microsoft Sans Serif;">
<htmlption value="Any">Any</htmlption>
<htmlption value="less">lessthan 0.20</htmlption>
<htmlption value="between">0.20 - 0.299</htmlption>
<htmlption value="more">morethan 0.30</htmlption>
</html:select>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="488" width="1004" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="1004" id="AutoNumber16">
<tr>
<td width="182"></td>
<td width="568" colspan="3">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="88%" height='47'>
<param name=movie value="/stocks/images/button02.swf">
</object>
</td>
<td width="250"></td>
</tr>
<tr>
<td width="182"></td>
<td width="570" align="center">
<input size="20%" type="image" src="/stocks/images/result.gif" border="1"></td>
<td width="248"></td>
</tr>
</html:form>
<tr> <td width="1000" colspan="3"> </td>
</tr>
<tr>
<td width="102" bgcolor="#E7F2C9" HEIGHT="14" style="border-left-width: 1; border-right: 1px solid #A5A5A5; border-top-width: 1; border-bottom-width: 1">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt">
CRITERIA</font></b></td>
<td width="657" bgcolor="#E7F2C9" HEIGHT="20">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt"> SEARCH RESULTS</font></b></td>
<td width="238" bgcolor="#E7F2C9" HEIGHT="14" style="border-left: 1px solid #A5A5A5; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt"> NEWS AND
EVENTS</font></b></td>
</tr>
<tr>
<td width="1000" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#A5A5A5" width="1000" id="AutoNumber18" height="134">
<tr>
<td width="170" height="134" valign="top" style="border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber28">
<tr>
<td width="100%" height="12"><font size="2" face="Microsoft Sans Serif">
<P id=d4 style="DISPLAY: none; BACKGROUND-COLOR: #eeeeee">
<p></p>
</font></td>
</tr>
<tr>
<td width="100%" height="1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber22" height="38">
<tr>
<td width="169" height="12" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber33">
<tr>
<td width="3%"> </td>
<td width="10%">
<p style="color:blACK; cursor: hand;" onmouseover="document.all.E.style.display= document.all.E.style.display=='none' ? '' : 'none'" onclick="document.all.E.style.display= document.all.E.style.display=='none' ? '' : 'none'" onmouseout="document.all.E.style.display= document.all.E.style.display=='' ? 'none' : 'none'" onmouseout="document.all.E.style.display= document.all.E.style.display=='' ? 'none' : 'none'" align="center">
<img border="0" src="/stocks/images/arrow.gif" align="left" name="arr1" onmouseover="document.arr1.src='/stocks/images/arrow1.gif'" onmouseout="document.arr1.src='/stocks/images/arrow.gif'" width="9" height="12" ></td>
<td width="87%">
<p>
<font face="Microsoft Sans Serif" style="font-size: 7pt">
<strong>TRAILING P/E RATIO</strong></font></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="8" bgcolor="#EEEEEE">
</td>
<td width="154" bgcolor="#EEEEEE">
<p id=E style="display:none" align="left"><font size="2" face="Microsoft Sans Serif">
is the ratio of the stock price to earnings-per-share. A high P/E
reflects an optimism about future earnings. Different industries
have distinct P/E histories and so this ratio should be employed
carefully, usually only among companies within the same industry.</font></p></td>
<td width="7" bgcolor="#EEEEEE">
</td>
</tr>
<tr>
<td width="169" height="3" colspan="3">
</td>
</tr>
<tr>
<td width="169" height="9" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber23">
<tr>
<td width="169" height="12" bgcolor="#FFFFFF" colspan="3">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="169" id="AutoNumber34">
<tr>
<td width="4"> </td>
<td width="15">
<p style="color:blACK; cursor: hand;" onmouseover="document.all.f.style.display= document.all.f.style.display=='none' ? '' : 'none'" onclick="document.all.f.style.display= document.all.f.style.display=='none' ? '' : 'none'" onmouseout="document.all.f.style.display= document.all.f.style.display=='' ? 'none' : 'none'" align="center">
<img border="0" src="/stocks/images/arrow.gif" align="left" name="arr2" onmouseover="document.arr2.src='/stocks/images/arrow1.gif'" onmouseout="document.arr2.src='/stocks/images/arrow.gif'" width="9" height="12" >
</td>
<td width="150">
<p>
<font face="Microsoft Sans Serif" style="font-size: 7pt">
<strong> MARKET CAPITALIZATION </strong></font><span style="font-size: 8pt">
</span>
</p></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="8" bgcolor="#EEEEEE">
</td>
<td width="153" bgcolor="#EEEEEE">
<p id=f style="display:none" align="left"><font size="2" face="Microsoft Sans Serif">is a measure of size of the firm and is calculated by multiplying
the number of shares by the share price. Size can be a significant
influence of performance for hypothetically larger companies
possess more leverage in negotiations with distributors as well
as more economy of scale advantages relative to suppliers/vendor.</font></p>
</td>
<td width="8" bgcolor="#EEEEEE">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="3"></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="1" valign="top">
</td>
</tr>
</table>
</td>
<td width="604" height="134" valign="top">
<%if(n<1)
{
%> <br><br><br><center>
<font size="3" face="Microsoft Sans Serif" color='red'>Sorry !!! No Results found matching your criteria</font>
<br><br>
<% }
else
{
%>
<pgager id="test" export="currentPageNumber=pageNumber">
<%int quo=0,remain=0,iFrom=0,iTo=0,page1=0;
quo=n/10;
page1=currentPageNumber.intValue()-1;
remain=(n%10)-1;
if(n<=10)
{
iFrom=(page1*10)+1;
iTo=n;
}
else if(n>10)
{
if(quo==page1)
{
iFrom=(page1*10)+1;
iTo=iFrom+remain;
}
else
{
iFrom=(page1*10)+1;
iTo=iFrom+9;
}
}
%>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber30" height="1">
<tr>
<td height="1">
</td>
</tr>
<tr>
<td width="1%" valign="top" height="26" bgcolor="#BBD6EF">
</td><td width="74%" height="26" bgcolor="#BBD6EF"><font size='2' face='ms sans serif'> Showing <%=iFrom%> - <%=iTo%> over <%=n%> Stocks </font></td>
<%if(n>=4)
{%>
<td width="53" height="18" bgcolor="#BBD6EF" align="right"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="100%" height='17'><param name=movie value="/stocks/images/arrow_ani.swf"></object></td>
<td width="16%" height="26" bgcolor="#BBD6EF" align="left"><html:link href="/stocks/bargainSearchforStocks.do"><img src="/stocks/images/click.gif" border="0"></html:link></td><%}%>
</tr>
<tr>
<td width="100%" height="1" colspan="4">
<logic:iterate id="displayresult" name="stocksDisplay">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#B7B7FF" width="100%" id="AutoNumber1">
<pg:item><tr>
<td width="25%" rowspan="6" valign="top">
<table>
<tr>
<td width="150" rowspan="6" height="100">
</td>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Name</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="bankname"/> </font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Price</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<b> $ <bean:write name="displayresult" property="price"/> </b>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Profit Margin</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="profit"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b><font face="Verdana" size="2" color="#3366FF">Market Capitalization</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
$ <bean:write name="displayresult" property="capital"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Trailing P/E Ratio</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
<bean:write name="displayresult" property="trailing"/>
</font>
</td>
</tr>
<tr>
<td width="250" height="25"><b>
<font face="Verdana" size="2" color="#3366FF">Gross Profit</font></b></td>
<td width="200"><font face='verdana' color='#360049' size='2'>
$ <bean:write name="displayresult" property="gross"/>
</font>
</td>
</tr>
</tr>
</table>
</td>
</tr> </pg:item>
</table>
</center>
</logic:iterate>
</td>
</tr>
<pg:index >
<%if(quo<=6){%>
<font face="Microsoft Sans Serif" style="font-size: 9pt">Browse Pages:</font>
<pg:first>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">First</font></a>
</pg:first>
<pgrev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pgrev>
<pgages>
<%
if (pageNumber == currentPageNumber)
{
%><font color="black" face="verdana" style="font-size: 8pt"><b><%= pageNumber %></b></font><%
} else {
%><font color="black" face="verdana" style="font-size: 8pt"><a href="<%= pageUrl %>"><%= pageNumber %></a></font><%
}
%><font color="black" face="verdana" style="font-size: 8pt"> | </font>
</pgages>
<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>
<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>
<%}
else{
%>
<font face="Microsoft Sans Serif" style="font-size: 9pt">Browse Pages:</font>
<pg:first>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">First</font></a>
</pg:first>
<pgrev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pgrev>
<pgages>
<%
if (pageNumber == currentPageNumber)
{
%><font color="black" face="verdana" style="font-size: 8pt"><b><%= pageNumber %></b></font><%
} else {
%><font color="black" face="verdana" style="font-size: 8pt"><a href="<%= pageUrl %>"><%= pageNumber %></a></font><%
}
%><font color="black" face="verdana" style="font-size: 8pt"> | </font>
</pgages>
<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>
<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>
<%}%>
</pg:index>
</pgager>
</table>
<%}%>
</td>
<td width="226" height="134" valign="top" style="border-left-style: solid; border-left-width: 1; border-right-width: 1; border-top-width: 1; border-bottom-width: 1">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber29" height="210">
<tr>
<td width="100" height="210" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="226%" id="AutoNumber39">
<tr>
<td width="2%" height="321"> </td>
<td width="281%" height="321" valign="top">
<font size="2" face="Microsoft Sans Serif"><br>
<font color="#666666">As of late June the stock market is down 1.6% year-to-date and only up 1.4% in the past 12 months; by comparison real-estate median prices have soared 15.1% in the past year.<br>
<br>Some optimistic analysts have suggested 2005 may repeat the 2004 pattern of a sluggish 1st 6 months followed by a rallying latter 6 months. However historical research suggests that recovery pattern is NOT typical; in fact, what is more commonplace is a stagnant summer of languishing stock market prices. A June 22nd Wall Street Journal article entitled “Stocks Won’t Always Laugh Over $60 Oil” suggests that the inevitable inflation and rising interest rates forthcoming with higher energy costs will ultimately take its toll and the stock market will actually decline.<br>
<br>But we at BuyingBuzz are more confident. Globalization and competition should maintain a rein on inflation. We believe a spurt similar to the one a decade ago is on the horizon. Greenspan has raised interest rates 2 % over the past year and appears satisfied that is enough. The decade ago lesson we remind readers of is “that when the Fed stops, the BULLS run” The S&P 500 54% runup from December 1994 to May 1996 followed a period of 7 interest rate hikes that ensued in 1993/4 and then stopped.<br>
<br>Our confidence is buoyed by recognition of the demographics that influence the market.
Share Ownership 2000 ( reported that 84 million or 43% of the adult US population held shares in 1999. The 84 million figure was up 21% over 1994 and 61% over 1989. The increased participation in self-directed employee retirement accounts , growing use of stock options for employees and the popularity of equity mutual funds has contributed to the surge. And an oft-overlooked factor is the propensity for stock ownership to increase linearly with rising age and income; the great percentage of the US population is in the baby-boom stage that historically has been most active in the marketplace. Add to these influences the impact of online day-trading, the prospects of some form of Social Security privatization and even the education of the young regarding the stock market and one can understand our confident perspective. On the latter point, the education of the young, we were pleasantly surprised to find a cute Public Broadcasting System “Investing 101" class at
So this leads to the question where to invest? We follow more than 35 industry markets and try to diversify our portfolios. But one hint to follow is to track the “average age” that the automotive industry has always used to project new car sales; once the average age of vehicle registrations reaches 7 years one can rest assured that consumers will dive into the new car market instead of continuing to repair old ones. We perceive the PC hardware industry is about to experience a golden revival as people seek replacements for their older models equipped with obsolete operating systems. Multiple ownership of PCs is becoming far more prevalent within households. And the increasing number of gamers contributes for they are the “heavy hitters” of the PC industry, trading up often, to acquire the speed and storage to run the sexier, newer games. The medical equipment industry is another investment area as we envision defibrillator demand to soar. Stay tuned for BuyingBuzz updates on this site and good luck.<br> </font></font>
<p><font color="#666666" size="2" face="Microsoft Sans Serif"> </font>
</td>
<td width="5%" height="321" valign="top"> </td>
</tr>
<tr>
<td width="5%"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<%@include file="../html/bbfooter.htm"%>
</body>
</html:html>
</code>
Thanks in advance.