Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javax.servlet.ServletException: BeanUtils.populate

Status
Not open for further replies.

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">&nbsp;</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">&nbsp;</td>
<td width="154" height="20">&nbsp;</td>
<td width="329" height="20" colspan="2">
&nbsp;</td>
<td width="204" height="20">&nbsp;</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" >
<html:eek:ption value="Any">Any</html:eek:ption>
<html:eek:ption value="Bank">Banking</html:eek:ption>
<html:eek:ption value="Healthcare Services">Healthcare Services</html:eek:ption>
<html:eek:ption value="Construction">Building/Construction</html:eek:ption>
<html:eek:ption value="Aerospace">Aerospace</html:eek:ption>
<html:eek:ption value="Apparel">Apparel</html:eek:ption>
<html:eek:ption value="Automotive">Automotive</html:eek:ption>
<html:eek:ption value="Chemical">Chemical</html:eek:ption>
<html:eek:ption value="Computer Hardware">Computer Hardware</html:eek:ption>
<html:eek:ption value="Consumer Durables">Consumer Durables</html:eek:ption>
<html:eek:ption value="Defense Contractors">Defense Contractors</html:eek:ption>
<html:eek:ption value="Energy">Energy</html:eek:ption>
<html:eek:ption value="Financial Services">Financial Services</html:eek:ption>
<html:eek:ption value="Food Processing">Food Processing</html:eek:ption>
<html:eek:ption value="Insurance">Insurance</html:eek:ption>
<html:eek:ption value="Medical Equipment">Medical Equipment</html:eek:ption>
<html:eek:ption value="Media">Media</html:eek:ption>
<html:eek:ption value="Retailing">Retailing</html:eek:ption>
<html:eek:ption value="Shipping">Shipping/Distribution</html:eek:ption>
<html:eek:ption value="Software">Software</html:eek:ption>
<html:eek:ption value="Telecommunications">Telecommunications</html:eek:ption>
<html:eek:ption value="Utilities">Utilities</html:eek:ption>
</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;">
<html:eek:ption value="Any">Any</html:eek:ption>
<html:eek:ption value="less">lessthan 2,000</html:eek:ption>
<html:eek:ption value="between">2,000 - 9,999</html:eek:ption>
<html:eek:ption value="more">morethan 10,000</html:eek:ption>
</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;">
<html:eek:ption value="Any">Any</html:eek:ption>
<html:eek:ption value="less">lessthan 20</html:eek:ption>
<html:eek:ption value="between">20 - 40</html:eek:ption>
<html:eek:ption value="more">morethan 40</html:eek:ption>
</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;">
<html:eek:ption value="Any">Any</html:eek:ption>
<html:eek:ption value="less">lessthan 0.20</html:eek:ption>
<html:eek:ption value="between">0.20 - 0.299</html:eek:ption>
<html:eek:ption value="more">morethan 0.30</html:eek:ption>
</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="clsid:D27CDB6E-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">&nbsp;</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">
&nbsp;CRITERIA</font></b></td>
<td width="657" bgcolor="#E7F2C9" HEIGHT="20">
<p align="left"><b>
<font face="Microsoft Sans Serif" style="font-size: 9pt">&nbsp;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">&nbsp;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%">&nbsp;</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">&nbsp;</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>&nbsp;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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size="3" face="Microsoft Sans Serif" color='red'>Sorry !!! No Results found matching your criteria</font>
<br><br>


<% }
else
{
%>
<pg:pager 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">
&nbsp;
</td>
</tr>
<tr>
<td width="1%" valign="top" height="26" bgcolor="#BBD6EF">
&nbsp;</td><td width="74%" height="26" bgcolor="#BBD6EF"><font size='2' face='ms sans serif'>&nbsp;&nbsp;&nbsp;Showing <%=iFrom%> - <%=iTo%> over <%=n%> Stocks </font></td>
<%if(n>=4)
{%>
<td width="53" height="18" bgcolor="#BBD6EF" align="right"><object classid="clsid:D27CDB6E-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){%>&nbsp;&nbsp;&nbsp;&nbsp;
<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>&nbsp;


<pg:prev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pg:prev>&nbsp;

<pg:pages>
<%
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">&nbsp;|&nbsp;</font>
</pg:pages>
&nbsp;

<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>&nbsp;


<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>&nbsp;
<%}
else{
%>
&nbsp;&nbsp;&nbsp;&nbsp;
<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>&nbsp;


<pg:prev>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Previous</font></a>
</pg:prev>&nbsp;

<pg:pages>
<%
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">&nbsp;|&nbsp;</font>
</pg:pages>
&nbsp;

<pg:next>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Next</font></a>
</pg:next>&nbsp;


<pg:last>
<a href="<%= pageUrl %>"><font face="Microsoft Sans Serif" style="font-size: 8pt">Last </font></a>
</pg:last>&nbsp;
<%}%>
</pg:index>
</pg:pager>

</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">&nbsp;</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">&nbsp; </font>
</td>
<td width="5%" height="321" valign="top">&nbsp;</td>
</tr>
<tr>
<td width="5%">&nbsp;</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.
 
Hi,

Post the route cause or the exception that will help.

Cheers
Venu
 
Hi venur here it is

exception

javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:497)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)


root cause

java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
java.security.AccessController.checkPermission(AccessController.java:427)
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
java.lang.Class.checkMemberAccess(Class.java:2125)
java.lang.Class.getDeclaredMethods(Class.java:1762)
org.apache.commons.beanutils.MappedPropertyDescriptor$1.run(MappedPropertyDescriptor.java:386)
java.security.AccessController.doPrivileged(Native Method)
org.apache.commons.beanutils.MappedPropertyDescriptor.getPublicDeclaredMethods(MappedPropertyDescriptor.java:383)
org.apache.commons.beanutils.MappedPropertyDescriptor.internalFindMethod(MappedPropertyDescriptor.java:453)
org.apache.commons.beanutils.MappedPropertyDescriptor.findMethod(MappedPropertyDescriptor.java:527)
org.apache.commons.beanutils.MappedPropertyDescriptor.<init>(MappedPropertyDescriptor.java:149)
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:907)
org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:934)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:205)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)

Thanks.
 
At first sight looks like a permission problem. Maybe any policy file missing?

Cheers,
Dian
 
Thanks Dian for looking at this.

Help me to solve this issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top