You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by shahed <sh...@enoor.com> on 2000/10/03 22:19:07 UTC
IllegalStateException in JSP
I have a jsp page like
<%
Init Code to create myObj etc etc etc etc
%>
<%
while(rs.next())
{
String s = myObj.encodeString(rs.getString("stringToBeEncoded"));
%>
<%=s%>
<%
}
%>
If I have a small number of records, everything works fine.
However if I return a say a 100 records, I get a
java.lang.illegalStateException, which is due to the call to
my method encodeString.
All that the method does is replace blank spaces in a string with "%20".
Any idea whats happenning.
Thanks
Shahed