[Logo]
Forums Register Login
Unable print on JSP page
I have a two dimensional array object returned to JSP by a java bean method, but when i try to print the values in that array, a Servlet exception is thrown.Can some one please tell me were i go wrong.
Here is the code
<%
String event_period[][] = period.getevent_period();
for(int i=0;i<9;i++){
%>
<tr>
<%for(int j=0;j<7;j++)
out.print("<td>"+event_period[i][j] + "</td>");
%>

</tr>
<%
}
%>
Can you pls give some details on the error ?
Error Message
Javax.servlet.ServletException
This is only error thrown
Thanx
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 723 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 22, 2018 00:16:42.