This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am creating jsp page to get user input, calling another jsp to set bean properties and also calling java class to calculate days. But I am getting error on that method calling line. My code are as follow:
4. java class
I would really appreciate, if anyone could help me.
description The server encountered an internal error () that prevented it from fulfilling this request.
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 32 in the jsp file: /Bean.jsp
The method print(boolean) in the type JspWriter is not applicable for the arguments (void)
31: <% NextBday bday = new NextBday();%>
32: My Next Birth Day is after <%=bday.service(request.getParameter("dob"))%> days.