
[Tag:java] I am getting an Error, while accessing a JSP Page through my eclipse workspace,, other guys can access that page on their localhost. This error is with all my JSP page where i try to access MYList.MyDo.someGetterMethod(); in JSP page. I am using Tomcat5.5 and JDK1.6, i tried after converting it to Tomcat5.5 and JDK1.5, but it didn't work. Is it related to [Tag:eclipse]
Please Help.
Sample Code
<%
String code = "False";
String revenueCode = "";
for (int i = 0; i < versionInfoTypeDO
.getPracticeSplitRevenueInfoDOList().size(); i++) {
revenueCode = versionInfoTypeDO
.getPracticeSplitRevenueInfoDOList()
.get(i).getPracticeRevenueCode();
if (revenueCode.equals("12")) {
code = "True";
break;
}
}
%>
Error: org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 413 in the jsp file: /jsps/bap/editPracticeRevenuSplit.jsp Generated servlet error: The method getPracticeRevenueCode() is undefined for the type Object
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.