Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need help on debugging jsp

 
carl chan
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
input.jsp
-----------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">function sumTotal()
{
var thisform=document.form1;
var field1=thisform.total1.value;
var field2=thisform.testfee.value;
var field3=thisform.regfee.value;
var totalqty=(field1-0)+(field2-0)+(field3-0);
thisform.total1.value=thisform.hourfee.value*thisform.numlesson.value;
thisform.gtotal.value=totalqty;
} </script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<jsp:useBean id='form' class='a.FormBean' scope='session'>
</jsp:useBean>
<div align="center">
<table width="650" border="0" cellspacing="0" cellpadding="0">
<tr><td><div align="center">
<% String errorMsg = (String) form.getError();
if (errorMsg!=null) { %>
<font color='red'>Error: <%=errorMsg%></font>
<% } %>
</div>
</td></tr>
<tr>
<td width="628">
<form action="/dbproject/servlet/ControllerServlet?action=createRecord" method="POST" >
<p>Student ID:
<input name="sdid" type="text" size="10" value="<%=form.getSdid()%>" >
     Gender:
<input type="radio" name="gender" value="male" <%=form.genderSelectAttr("male")%> >
Male
<input name="gender" type="radio" value="radiobutton" <%=form.genderSelectAttr("female")%>>
Female      Date of Birth (dd/mm/yy):
<input name="dob" type="text" size="10" value="<%=form.getDob()%>">
</p>
<p>Last Name:
<input name="lname" type="text" size="20" value="<%=form.getLname()%>">
     First Name:
<input name="fname" type="text" size="20" value="<%=form.getFname()%>">
</p>
<p> Street and number:
<input name="street" type="text" size="30" value="form.getStreet()">
City:
<input name="city" type="text" size="10" value="<%=form.getCity()%>">
Province:
<input name="prov" type="text" size="10" value="<%=form.getProv()%>">
</p>
<p>Postal Code:
<input name="postal" type="text" size="6" value="<%=form.getPostal()%>">
E-mail:
<input type="text" name="email" value="<%=form.getEmail()%>">
</p>
<p> Phone (Home):
<input name="hphone" type="text" size="15" value="<%=form.getHphone()%>">
Phone (Cell):
<input name="cphone" type="text" size="15" value="<%=form.getCphone()%>">
Fax:
<input name="fax" type="text" size="15" value="<%=form.getFax()%>">
</p>
<p> School:
<input name="school" type="text" size="40" value="<%=form.getSchool()%>">
     Grade:
<input name="grade" type="text" size="5" value="<%=form.getGrade()%>">
</p>
<p> First Language:
<input name="lang" type="text" size="15" value="<%=form.getLang()%>">
     Ethnicity:
<input name="ethnic" type="text" size="15" value="<%=form.getEthnic()%>">
</p>
<p><HR width="650"></p>
<p><strong>Course 1:</strong>
<select name="cid1">
<option value="001">001</option>
<option value="002">002</option>
</select>
Period:
<select name="cperiod1">
<option value="none" <%=form.cperiod1SelectAttr("none")%>></option>
<option value="p1" <%=form.cperiod1SelectAttr("p1")%>>05/04/03-28/06/03</option>
<option value="p2" <%=form.cperiod1SelectAttr("p2")%>>02/09/03-20/12/03</option>
<option value="p3" <%=form.cperiod1SelectAttr("p3")%>>06/01/04-05/04/04</option>
</select>
Rate / Hour:
<select name="crate1">
<option value="no" <%=form.crate1SelectAttr("no")%>> </option>
<option value="10" <%=form.crate1SelectAttr("10")%>>$10.00</option>
<option value="15" <%=form.crate1SelectAttr("15")%>>$15.00</option>
<option value="20" <%=form.crate1SelectAttr("20")%>>$20.00</option>
<option value="25" <%=form.crate1SelectAttr("25")%>>$25.00</option>
<option value="30" <%=form.crate1SelectAttr("30")%>>$30.00</option>
<option value="35" <%=form.crate1SelectAttr("35")%>>$35.00</option>
<option value="40" <%=form.crate1SelectAttr("40")%>>$40.00</option>
<option value="45" <%=form.crate1SelectAttr("45")%>>$45.00</option>
<option value="50" <%=form.crate1SelectAttr("50")%>>$50.00</option>
</select>
Hours:
<input name="chours1" type="text" size="3" value="<%=form.getChours1()%>">
Tution:
<input name="ctution1" type="text" id="total15" size="10" value="<%=form.getCtution1()%>">
</p>
<p><strong>Course 2:</strong>
<select name="cid2">
<option value="001">001</option>
<option value="002">002</option>
</select>
Period:
<select name="cperiod2">
<option value="none" <%=form.cperiod2SelectAttr("none")%>></option>
<option value="p1" <%=form.cperiod2SelectAttr("p1")%>>05/04/03-28/06/03</option>
<option value="p2" <%=form.cperiod2SelectAttr("p2")%>>02/09/03-20/12/03</option>
<option value="p3" <%=form.cperiod2SelectAttr("p3")%>>06/01/04-05/04/04</option>

</select>
Rate / Hour:
<select name="crate2">
<option value="no" <%=form.crate2SelectAttr("no")%>> </option>
<option value="10" <%=form.crate2SelectAttr("10")%>>$10.00</option>
<option value="15" <%=form.crate2SelectAttr("15")%>>$15.00</option>
<option value="20" <%=form.crate2SelectAttr("20")%>>$20.00</option>
<option value="25" <%=form.crate2SelectAttr("25")%>>$25.00</option>
<option value="30" <%=form.crate2SelectAttr("30")%>>$30.00</option>
<option value="35" <%=form.crate2SelectAttr("35")%>>$35.00</option>
<option value="40" <%=form.crate2SelectAttr("40")%>>$40.00</option>
<option value="45" <%=form.crate2SelectAttr("45")%>>$45.00</option>
<option value="50" <%=form.crate2SelectAttr("50")%>>$50.00</option>
</select>
Hours:
<input name="chours2" type="text" size="3" value="<%=form.getChours2()%>">
Tution:
<input name="ctution2" type="text" id="total16" size="10" value="<%=form.getCtution2()%>">
</p>
<p><strong>Course 3:</strong>
<select name="cid3">
<option value="001">001</option>
<option value="002">002</option>
</select>
Period:
<select name="cperiod3">
<option value="none" <%=form.cperiod3SelectAttr("none")%>></option>
<option value="p1" <%=form.cperiod3SelectAttr("p1")%>>05/04/03-28/06/03</option>
<option value="p2" <%=form.cperiod3SelectAttr("p2")%>>02/09/03-20/12/03</option>
<option value="p3" <%=form.cperiod3SelectAttr("p3")%>>06/01/04-05/04/04</option>

</select>
Rate / Hour:
<select name="crate3">
<option value="no" <%=form.crate3SelectAttr("no")%>> </option>
<option value="10" <%=form.crate3SelectAttr("10")%>>$10.00</option>
<option value="15" <%=form.crate3SelectAttr("15")%>>$15.00</option>
<option value="20" <%=form.crate3SelectAttr("20")%>>$20.00</option>
<option value="25" <%=form.crate3SelectAttr("25")%>>$25.00</option>
<option value="30" <%=form.crate3SelectAttr("30")%>>$30.00</option>
<option value="35" <%=form.crate3SelectAttr("35")%>>$35.00</option>
<option value="40" <%=form.crate3SelectAttr("40")%>>$40.00</option>
<option value="45" <%=form.crate3SelectAttr("45")%>>$45.00</option>
<option value="50" <%=form.crate3SelectAttr("50")%>>$50.00</option>
</select>
Hours:
<input name="chours3" type="text" size="3" value="<%=form.getChours3()%>">
Tution:
<input name="ctution3" type="text" id="total18" size="10" value="<%=form.getCtution3()%>">
</p>
<p><strong>Course 4:</strong>
<select name="cid4">
<option value="001">001</option>
<option value="002">002</option>
</select>
Period:
<select name="cperiod4">
<option value="none" <%=form.cperiod4SelectAttr("none")%>></option>
<option value="p1" <%=form.cperiod4SelectAttr("p1")%>>05/04/03-28/06/03</option>
<option value="p2" <%=form.cperiod4SelectAttr("p2")%>>02/09/03-20/12/03</option>
<option value="p3" <%=form.cperiod4SelectAttr("p3")%>>06/01/04-05/04/04</option>

</select>
Rate / Hour:
<select name="crate4">
<option value="no" <%=form.crate4SelectAttr("no")%>> </option>
<option value="10" <%=form.crate4SelectAttr("10")%>>$10.00</option>
<option value="15" <%=form.crate4SelectAttr("15")%>>$15.00</option>
<option value="20" <%=form.crate4SelectAttr("20")%>>$20.00</option>
<option value="25" <%=form.crate4SelectAttr("25")%>>$25.00</option>
<option value="30" <%=form.crate4SelectAttr("30")%>>$30.00</option>
<option value="35" <%=form.crate4SelectAttr("35")%>>$35.00</option>
<option value="40" <%=form.crate4SelectAttr("40")%>>$40.00</option>
<option value="45" <%=form.crate4SelectAttr("45")%>>$45.00</option>
<option value="50" <%=form.crate4SelectAttr("50")%>>$50.00</option></select>
Hours:
<input name="chours4" type="text" size="3" value="<%=form.getChours4()%>">
Tution:
<input name="ctution4" type="text" id="total18" size="10" value="<%=form.getCtution4()%>">
</p>
<p><strong>Course 5:</strong>
<select name="cid5">
<option value="001">001</option>
<option value="002">002</option>
</select>
Period:
<select name="cperiod5">
<option value="none" <%=form.cperiod5SelectAttr("none")%>></option>
<option value="p1" <%=form.cperiod5SelectAttr("p1")%>>05/04/03-28/06/03</option>
<option value="p2" <%=form.cperiod5SelectAttr("p2")%>>02/09/03-20/12/03</option>
<option value="p3" <%=form.cperiod5SelectAttr("p3")%>>06/01/04-05/04/04</option>

</select>
Rate / Hour:
<select name="crate5">
<option value="no" <%=form.crate5SelectAttr("no")%>> </option>
<option value="10" <%=form.crate5SelectAttr("10")%>>$10.00</option>
<option value="15" <%=form.crate5SelectAttr("15")%>>$15.00</option>
<option value="20" <%=form.crate5SelectAttr("20")%>>$20.00</option>
<option value="25" <%=form.crate5SelectAttr("25")%>>$25.00</option>
<option value="30" <%=form.crate5SelectAttr("30")%>>$30.00</option>
<option value="35" <%=form.crate5SelectAttr("35")%>>$35.00</option>
<option value="40" <%=form.crate5SelectAttr("40")%>>$40.00</option>
<option value="45" <%=form.crate5SelectAttr("45")%>>$45.00</option>
<option value="50" <%=form.crate5SelectAttr("50")%>>$50.00</option>
</select>
Hours:
<input name="chours5" type="text" size="3" value="<%=form.getChours5()%>">
Tution:
<input name="ctution5" type="text" id="total18" size="10" value="<%=form.getCtution5()%>">
</p>
<p align="right">  </p>
<hR width="650">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="heading">
<tr>
<td colspan="5" class="heading">Test:
</td>
</tr>
<tr>
<td class="heading"><input type="checkbox" name="eng" value="checkbox">
English ($50)</td>
<td class="heading"><input type="checkbox" name="esl" value="checkbox">
ESL ($30)</td>
<td><input type="checkbox" name="french" value="checkbox">
French ($30)</td>
<td><input type="checkbox" name="gmath" value="checkbox">
GMAT($50)</td>
<td><input type="checkbox" name="math" value="checkbox">
Math ($30)</td>
</tr>
<tr>
<td><input type="checkbox" name="mathc" value="checkbox">
Math-Contest ($50)</td>
<td><input type="checkbox" name="satmath" value="checkbox">
SAT-Math ($50)</td>
<td><input type="checkbox" name="satver" value="checkbox">
SAT-Verbal ($50)</td>
<td><input type="checkbox" name="sci" value="checkbox">
Science ($30)</td>
<td><input type="checkbox" name="toefl" value="checkbox">
TOEFL($50)</td>
</tr>
</table>
<p>Registration:
<input type="radio" name="regfee" value="100" <%=form.regfeeSelectAttr("100")%>>
$100
<input type="radio" name="regfee" value="50" <%=form.regfeeSelectAttr("50")%>>
$50
<input type="radio" name="regfee" value="25" <%=form.regfeeSelectAttr("25")%>>
$25
<input type="radio" name="regfee" value="0" <%=form.regfeeSelectAttr("0")%>>
Free       </p>
<p>Accomodation:<strong>
<input name="acc" type="text" size="10" value="<%=form.getAcc()%>">
</strong> Homestay: <strong>
<input name="hstay" type="text" size="10" value="<%=form.getHstay()%>">
</strong>Guardianship: <strong>
<input name="gship" type="text" size="10" value="<%=form.getGship()%>">
</strong>Others:<strong>
<input name="others" type="text" size="10" value="<%=form.getOthers()%>">
</strong></p>
<p>Discount type:
<input type="radio" name="distype" value="sib" <%=form.distypeSelectAttr("sib")%>>
Sibling (5%)
<input type="radio" name="distype" value="hon1" <%=form.distypeSelectAttr("hon1")%>>
Honour 1 (10%)
<input type="radio" name="distype" value="hon2" <%=form.distypeSelectAttr("hon2")%>>
Honour 2 (5%)
<input type="radio" name="distype" value="schship" <%=form.distypeSelectAttr("schship")%>>
Scholarship (10%)
<input type="radio" name="distype" value="0" <%=form.distypeSelectAttr("0")%>>
None </p>
<p>Payment Type:
<input type="radio" name="paytype" value="cash" <%=form.paytypeSelectAttr("cash")%>>
Cash
<input type="radio" name="paytype" value="cheque" <%=form.paytypeSelectAttr("cheque")%>>
Cheque
<input type="radio" name="paytype" value="dcard" <%=form.paytypeSelectAttr("dcard")%>>
Debit Card
<input type="radio" name="paytype" value="ccard" <%=form.paytypeSelectAttr("ccard")%>>
Credit Card </p>
<p align="right">Date (dd/mm/yy):<strong>
<input name="date" type="text" size="10" value="<%=form.getDate()%>">
Grand Total:</strong>
<input name="gtotal" type="text" size="10" value="<%=form.getGtotal()%>">
</p>
<hr width="650">
<p>CTES Program:
<input type="radio" name="ctes" value="ip" <%=form.ctesSelectAttr("0")%>>
IP
<input type="radio" name="ctes" value="rp" <%=form.ctesSelectAttr("0")%>>
RP
<input type="radio" name="ctes" value="ap" <%=form.ctesSelectAttr("0")%>>
AP
<input type="radio" name="ctes" value="ivy" <%=form.ctesSelectAttr("0")%>>
IVY
<input type="radio" name="ctes" value="gate" <%=form.ctesSelectAttr("0")%>>
GATE
<input type="radio" name="ctes" value="esl" <%=form.ctesSelectAttr("0")%>>
ESL </p>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="heading">
<tr>
<td colspan="5">CTES Student Test Score: </td>
</tr>
<tr>
<td><div align="right">Essay Writing
<input name="tsessay" type="text" size="3" value="<%=form.getTsessay()%>">
</div></td>
<td><div align="right">Grammer
<input name="tsgram" type="text" size="3" value="<%=form.getTsgram()%>">
</div></td>
<td><div align="right">Reading
<input name="tsread" type="text" size="3" value="<%=form.getTsread()%>">
</div></td>
<td><div align="right">Structure
<input name="tsstruct" type="text" size="3" value="<%=form.getTsstruct()%>">
</div></td>
<td><div align="right">Vocabulary
<input name="tsvocab" type="text" size="3" value="<%=form.getTsvocab()%>">
</div></td>
</tr>
<tr>
<td><div align="right">ESL
<input name="tsesl" type="text" size="3" value="<%=form.getTsesl()%>">
</div></td>
<td><div align="right">French
<input name="tsfrench" type="text" size="3" value="<%=form.getTsfrench()%>">
</div></td>
<td><div align="right">GMAT
<input name="tsgmat" type="text" size="3" value="<%=form.getTsgmat()%>">
</div></td>
<td><div align="right">Math
<input name="tsmath" type="text" size="3" value="<%=form.getTsmath()%>">
</div></td>
<td><div align="right">Math-Contest
<input name="tsmathc" type="text" size="3" value="<%=form.getTsmathc()%>">
</div></td>
</tr>
<tr>
<td><div align="right">SAT-Math ($50)
<input name="tssatm" type="text" size="3" value="<%=form.getTssatm()%>">
</div></td>
<td><div align="right">SAT-Verbal ($50)
<input name="tssatv" type="text" size="3" value="<%=form.getTssatv()%>">
</div></td>
<td><div align="right">Science
<input name="tssci" type="text" size="3" value="<%=form.getTssci()%>">
</div></td>
<td><div align="right">TOEFL
<input name="tstoefl" type="text" size="3" value="<%=form.getTstoefl()%>">
</div></td>
<td><div align="right"> </div></td>
</tr>
</table>
<p> </p>
<p align="center">
<input type="submit" name="Submit" value="Submit">
</p>
</form>
</td>
</tr>
</table></div>
</body>
</html>
When the above jsp code is called, following error appears:
-----------------------------------------------
Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
--------------------------------------------------------------------------------
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
at org.apache.jsp.input$jsp._jspService(input$jsp.java:1068)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:479)

root cause
java.lang.NoSuchMethodError
at org.apache.jsp.input$jsp._jspService(input$jsp.java:330)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:479)
Question: I am using tomcat server, does anyone know what goes wrong within my code??
Thanks
 
Asad Zaman
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should provide the a.FormBean class to debug your jsp code.
 
vidya archana
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There can be two possibilities causing the error
1. The FormBean class not written
2. Any of the methods called in the jsp page is not in the FormBean class
As the error is "No such method error" the chance is for the second one
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic