tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahed <sha...@enoor.com>
Subject IllegalStateException in JSP
Date Tue, 03 Oct 2000 20:19:07 GMT
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


Mime
View raw message