Forums Register Login

Illegal System Exit Exception

+Pie Number of slices to send: Send
My JSP returns this message to my servlet container's admin console everytime someone accesses the page.
The page itself doesn't do a whole lot. Mostly it declares a database connection bean and result set object, then returns some records from a database. Both objects have close() methods which take them out of memory.
If ayone recognizes this error and has some advice, it's much appreciated.
Rob
+Pie Number of slices to send: Send
Hello,
I dont think so ,I can help u much with just the description . Can u please put ur code here.
I think ,not very sure, when u make use of System.exit(0) in ur servlet u get such error. Such statement is not allowed in servlets.


------------------
Sandeep Jain
+Pie Number of slices to send: Send
Here's the code I am using:
<%@ page import="com.bplibf.servlet.*,java.sql.*,java.util.*,java.lang.*" errorPage="error.jsp" %>
<jsp:useBean id="conn" class="com.bplibf.servlet.ConnSQL" />
<%
ResultSet rs = null;
%>
<html>
<head>
<title>Custom Menu</title>
</head>
<body>
Request parameter names <BR>
<% String strRU = request.getRemoteUser(); %>
Remote User: <BR>
<%= strRU %> <BR>
<BR>
<BR>
<font face="Arial">
 <b><u><font size="4">Content Area Links</font></u></b>
</font>
<table border="0" cellpadding="3" width="40%" align="center" border="0" cellspacing="0">
<tr bgcolor="#3399FF">
<td width="23%"><font face="Arial">Area</font></td>
<td width="30%"><font face="Arial">Hyperlink</font></td>
</tr>
</table>
</body>
</jsp:useBean>
</html>
I should say that I have no problem with the page functioning. It's just that the logs are filled up with this "Illegal System.Exit()" exception.
Input appreciated,
Rob
Whatever. Here's a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 608 times.
Similar Threads
Display N records per page
RequestDispatch
RequestDispatcher
Displaying directly without any hyper link
RequestDispather
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 02:56:40.