aspose file tools*
The moose likes JSP and the fly likes Unable print on JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Unable print on JSP page" Watch "Unable print on JSP page" New topic
Author

Unable print on JSP page

Raj Neets
Ranch Hand

Joined: Nov 12, 2002
Posts: 46
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>
<%
}
%>
Sri Basavanahally
Ranch Hand

Joined: Oct 07, 2003
Posts: 75
Can you pls give some details on the error ?


UP THE IRONS !
Raj Neets
Ranch Hand

Joined: Nov 12, 2002
Posts: 46
Error Message
Javax.servlet.ServletException
This is only error thrown
Thanx
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable print on JSP page