Memory available

2002-03-04 Thread Alireza Nahavandi
Hi All, Is there anyway to find out how much memory available for creating more objects. Thank you, Alireza. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

Struts output in Tomcat Console Window

2002-03-04 Thread Phil Swenson
Whenever you use Struts you get all this messy output in the console window when you start Tomcat Stuff like: Pop org.apache.struts.action.ActionMapping New org.apache.struts.action.ActionMapping Set org.apache.struts.action.ActionMapping properties New org.apache.struts.action.ActionForward

display the message in Expcetion.printStackTrace( ) in a JSP page?

2002-03-04 Thread Gerald Reed
Hi there, What is the easiest way to display the message in Expcetion.printStackTrace( ) from a backend Java bean or java object onto a JSP page from which the Java object is called? Thanks in advance. -G __ Do You Yahoo!? Yahoo! Sports - sign

Re: display the message in Expcetion.printStackTrace( ) in a JSP page?

2002-03-04 Thread Chris Pratt
Try something like this: import java.io.PrintWriter; import java.io.StringWriter; public class ExceptionUtility { public static String stackTrace (Throwable t) { StringWriter str = new StringWriter(); t.printStackTrace(new PrintWriter(str)); return str.toString(); } }

Urgent. as being connected SQL-Server

2002-03-04 Thread Ottoniel Hernandez
Hi all I need to know the url to connect me with the JDBC to SQL-Server the error that gives me it is this Log:Cannot connect to jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez, reason:com.jnetdirect.jsql.u: Failed Logon:com.jnetdirect.jsql.u: Login failed for user '

Re: Memory available

2002-03-04 Thread Pete Freitag
long freeMem = Runtime.getRuntime().freeMemory(); _ Pete Freitag ([EMAIL PROTECTED]) CFDEV.COM Web Developer Resources http://www.cfdev.com/ -Original Message- From: A mailing list about Java Server Pages specification and reference

ArrayIndexOutOfBounds exception

2002-03-04 Thread Henry S. Hayden
I'm trying to return a recordset via an Oracle 8.1.5 stored procedure. I could swear that the following script used to work, but it now gives an ArrayIndexOutOfBounds exception. This is using tomcat 3.2. (I haven't figured out what's wrong yet, so I haven't mvoed it to Tomcat 4.01.) What has

Tomcat Question

2002-03-04 Thread Randy San Miguel
Hi, We are developing a JSP application running on Tomcat4.0 and we intend to establish a dial-up connection while Tomcat is running on the same PC. Is it possible? we are currently having a difficult time in tracing the problem and will appreciate any help from you guys. thanks, --

Re: Memory available

2002-03-04 Thread Wai-shing Chung
Have you tried Runtime.freeMemory(), Runtime.totalMemory() and the 1.4 Runtime.maxMemory()? Wai-shing Chung Alireza Nahavandi wrote: Hi All, Is there anyway to find out how much memory available for creating more objects. Thank you, Alireza.

Re: Urgent. as being connected SQL-Server

2002-03-04 Thread Next Step
At 04:29 PM 3/4/2002 -0600, you wrote: Hi all I need to know the url to connect me with the JDBC to SQL-Server the error that gives me it is this Log:Cannot connect to jdbc:JSQLConnect://monitor_ccd/database=monitor_ch202user=ohernandez, reason:com.jnetdirect.jsql.u: Failed