Re: Use Argo UML Tools
Use Argo UML Daniel wrote: Can any body suggest me FREE GOOD UML TOOL for design? Regards, Daniel.E === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: UML Tools
I use Poseidon. http://www.gentleware.com The free community version is pretty good and really all I need. Thanks, Michael - Original Message - From: "Daniel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 2:26 AM Subject: UML Tools > Can any body suggest me FREE GOOD UML TOOL for design? > > > Regards, > Daniel.E > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Use of Vector
Vikramjit, The reason that Vector is Synchronized is the main reason why I would use it in a web application... I dont want adhoc volatile values to be present.. Snehal, Could u explain what do u mean by Master Value... do u mean for ex.. of populating drop down lists, a list that is common across users and sessions. like an Application level data... if so then yes i would use a Synchronized Collection object, Vector works inplictly as a Synchronized Object, but if u want to use another class then I would recomend using the Synchroinzation technique in the Collections class so as to maintain data itegrity. Amit. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Vikramjit Singh Sent: Wednesday, January 01, 2003 10:31 PM To: [EMAIL PROTECTED] Subject: Re: Use of Vector > -Original Message- > From: Snehal Pandya [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 11:57 AM > To: [EMAIL PROTECTED] > Subject: Use of Vector > > > Hi All, > I have a Application and For that I want to put all Master > value in the > Vector . > Whether this is good programming or it is benifishery. > My application is for intranet only. > Please help me how to use it and how to retrive the > information from the > Vector. vector is not useful for web applications, just coz of the basic reason that it is synchronized. You could use other Collection classes or check the List interface. My 2 cents: For inserting the values use LinkedList (since LinkedList is faster for insert operations). LinkedList provides sequential access, additions and deletions, at a cost of slower random access. For retrieving or reading the values use ArrayList (ArrayList is faster for read operations). For instance, if your program is to frequently provide random access to the data of the list, (for example, "show me item three, twelve, two, and twenty-five") the ArrayList class offers quick access to individual elements of the list. When working with ArrayList and LinkedList, there are two ways of creating the objects: List cityList = new ArrayList(); LinkedList peopleList = new LinkedList(); The above creation ensures that, line 1 that we are creating an ArrayList but we are gonna use it as a List. While line 2 that, we are gonna use a linked list as a LinkedList :). > Thanks for help, > > Snehal Vikram. > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > Disclaimer: This e-mail message along with any attachments is intended only for the addressee and may contain confidential and privileged information of GTL Limited. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Query takes 10 minutes...I need to display some output...how?
I have a jap page that takes about 10 minutes to runthat is ok...it should take that long.. My problem is that I want to display some of the output while the user is waiting. I'm doing document.writes as I'm running the query and it should display, but the browser seems to wait until the whole 10 minute process is done before displaying anythingIs there anyway to change this and display some of the query output while the system is looping thru my query? _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Query takes 10 minutes...I need to display some output...how?
from a jsp you can do out.println("Some text"); then follow with out.flush(); to push the information in the buffer to the browser. This usually works but I have seen some app servers still wait till the page is finished processing -Original Message- From: Frank Mancini [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 3:10 PM To: [EMAIL PROTECTED] Subject: Query takes 10 minutes...I need to display some output...how? I have a jap page that takes about 10 minutes to runthat is ok...it should take that long.. My problem is that I want to display some of the output while the user is waiting. I'm doing document.writes as I'm running the query and it should display, but the browser seems to wait until the whole 10 minute process is done before displaying anythingIs there anyway to change this and display some of the query output while the system is looping thru my query? _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Query takes 10 minutes...I need to display some output...how?
Besides flushing the buffer, in IE that won't work in table rows, you must have already displayed the . Basically you have to do multiple tables instead of individual rows. - Original Message - From: "Nimmons, Buster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 4:11 PM Subject: Re: Query takes 10 minutes...I need to display some output...how? > from a jsp you can do out.println("Some text"); then follow with > out.flush(); to push the information in the buffer to the browser. This > usually works but I have seen some app servers still wait till the page is > finished processing > > -Original Message- > From: Frank Mancini [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 3:10 PM > To: [EMAIL PROTECTED] > Subject: Query takes 10 minutes...I need to display some output...how? > > > I have a jap page that takes about 10 minutes to runthat is ok...it > should take that long.. > > My problem is that I want to display some of the output while the user is > waiting. > > I'm doing document.writes as I'm running the query and it should display, > but the browser seems to wait until the whole 10 minute process is done > before displaying anythingIs there anyway to change this and display > some of the query output while the system is looping thru my query? > > > > > _ > The new MSN 8 is here: Try it free* for 2 months > http://join.msn.com/?page=dept/dialup > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Query takes 10 minutes...I need to display some output...how?
Use this to go on display your rows as they occur V.T.R.Ravi Kumar Engineer,CCX,BHEL, Haridwar Phone : Office-91-01334-285260 Res -91-01334-226121 - - Original Message - From: "Steven A. Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 2:45 AM Subject: Re: Query takes 10 minutes...I need to display some output...how? > Besides flushing the buffer, in IE that won't work in table rows, you must > have already displayed the . Basically you have to do multiple > tables instead of individual rows. > > > - Original Message - > From: "Nimmons, Buster" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 02, 2003 4:11 PM > Subject: Re: Query takes 10 minutes...I need to display some output...how? > > > > from a jsp you can do out.println("Some text"); then follow with > > out.flush(); to push the information in the buffer to the browser. This > > usually works but I have seen some app servers still wait till the page is > > finished processing > > > > -Original Message- > > From: Frank Mancini [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 02, 2003 3:10 PM > > To: [EMAIL PROTECTED] > > Subject: Query takes 10 minutes...I need to display some output...how? > > > > > > I have a jap page that takes about 10 minutes to runthat is ok...it > > should take that long.. > > > > My problem is that I want to display some of the output while the user is > > waiting. > > > > I'm doing document.writes as I'm running the query and it should display, > > but the browser seems to wait until the whole 10 minute process is done > > before displaying anythingIs there anyway to change this and display > > some of the query output while the system is looping thru my query? > > > > > > > > > > _ > > The new MSN 8 is here: Try it free* for 2 months > > http://join.msn.com/?page=dept/dialup > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > > > === > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Use of Vector
You can use ArrayList also .. as ArrayList is not synchronized by default, u can synchronize it forcibly using the method : Collections.synchronizedList(List list) of the Collections utility class .. this creates a synchronized list from the ArrayList and returns the reference to that .. As Vector is old concept , u should avoid it .. - Original Message - From: "Amit Ghaste" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 12:12 AM Subject: Re: Use of Vector > Vikramjit, > > The reason that Vector is Synchronized is the main reason why I would use it > in a web application... > > I dont want adhoc volatile values to be present.. > > Snehal, > > Could u explain what do u mean by Master Value... do u mean for ex.. of > populating drop down lists, a list that is common across users and sessions. > like an Application level data... > > if so then yes i would use a Synchronized Collection object, Vector works > inplictly as a Synchronized Object, but if u want to use another class then > I would recomend using the Synchroinzation technique in the Collections > class so as to maintain data itegrity. > > Amit. > > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Vikramjit Singh > Sent: Wednesday, January 01, 2003 10:31 PM > To: [EMAIL PROTECTED] > Subject: Re: Use of Vector > > > > -Original Message- > > From: Snehal Pandya [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 02, 2003 11:57 AM > > To: [EMAIL PROTECTED] > > Subject: Use of Vector > > > > > > Hi All, > > I have a Application and For that I want to put all Master > > value in the > > Vector . > > Whether this is good programming or it is benifishery. > > My application is for intranet only. > > Please help me how to use it and how to retrive the > > information from the > > Vector. > > vector is not useful for web applications, just coz of the basic reason that > it is synchronized. > You could use other Collection classes or check the List interface. > > My 2 cents: > > For inserting the values use LinkedList (since LinkedList is faster for > insert operations). > LinkedList provides sequential access, additions and deletions, at a cost of > slower random access. > For retrieving or reading the values use ArrayList (ArrayList is faster for > read operations). > > For instance, if your program is to frequently provide random access to the > data of the list, (for example, "show me item three, twelve, two, and > twenty-five") the ArrayList class offers quick access to individual elements > of the list. > > When working with ArrayList and LinkedList, there are two ways of creating > the objects: > > List cityList = new ArrayList(); > LinkedList peopleList = new LinkedList(); > > The above creation ensures that, line 1 that we are creating an ArrayList > but we are gonna use it as a List. While line 2 that, we are gonna use a > linked list as a LinkedList :). > > > Thanks for help, > > > > Snehal > > Vikram. > > > > == > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: > > "signoff JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set > > JSP-INTEREST DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > Disclaimer: This e-mail message along with any attachments is intended only > for the addressee and may contain confidential and privileged information of > GTL Limited. If the reader of this message is not the intended recipient, > you are notified that any dissemination, distribution or copy of this > communication is strictly prohibited. If you have received this message by > error, please notify us immediately, return the original mail to the sender > and delete the message from your system. > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://
[no subject]
Can any body suggest me for the complete tutorial of UML Regards Ali Raza === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Use of Vector
> -Original Message- > From: Amit Ghaste [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 03, 2003 12:12 AM > To: [EMAIL PROTECTED] > Subject: Re: Use of Vector > > > Vikramjit, > > The reason that Vector is Synchronized is the main reason why > I would use it > in a web application... > > I dont want adhoc volatile values to be present.. I dont think in web application you need to care about threads, since the container handles all the threading issues for you. Vectors were basically used for legacy systems (you can read more in Thinking in JAVA-Bruce Eckel) As far is volatile values, they arise in stand alone applications and not web driven. > > Snehal, > > Could u explain what do u mean by Master Value... do u mean > for ex.. of > populating drop down lists, a list that is common across > users and sessions. > like an Application level data... > > if so then yes i would use a Synchronized Collection object, > Vector works > inplictly as a Synchronized Object, but if u want to use > another class then > I would recomend using the Synchroinzation technique in the > Collections > class so as to maintain data itegrity. > > Amit. Vikram. > > -Original Message- > From: A mailing list about Java Server Pages specification > and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Vikramjit Singh > Sent: Wednesday, January 01, 2003 10:31 PM > To: [EMAIL PROTECTED] > Subject: Re: Use of Vector > > > > -Original Message- > > From: Snehal Pandya [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 02, 2003 11:57 AM > > To: [EMAIL PROTECTED] > > Subject: Use of Vector > > > > > > Hi All, > > I have a Application and For that I want to put all Master > > value in the > > Vector . > > Whether this is good programming or it is benifishery. > > My application is for intranet only. > > Please help me how to use it and how to retrive the > > information from the > > Vector. > > vector is not useful for web applications, just coz of the > basic reason that > it is synchronized. > You could use other Collection classes or check the List interface. > > My 2 cents: > > For inserting the values use LinkedList (since LinkedList is > faster for > insert operations). > LinkedList provides sequential access, additions and > deletions, at a cost of > slower random access. > For retrieving or reading the values use ArrayList (ArrayList > is faster for > read operations). > > For instance, if your program is to frequently provide random > access to the > data of the list, (for example, "show me item three, twelve, two, and > twenty-five") the ArrayList class offers quick access to > individual elements > of the list. > > When working with ArrayList and LinkedList, there are two > ways of creating > the objects: > > List cityList = new ArrayList(); > LinkedList peopleList = new LinkedList(); > > The above creation ensures that, line 1 that we are creating > an ArrayList > but we are gonna use it as a List. While line 2 that, we are > gonna use a > linked list as a LinkedList :). > > > Thanks for help, > > > > Snehal > > Vikram. > > > > == > > = > > To unsubscribe: mailto [EMAIL PROTECTED] with body: > > "signoff JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set > > JSP-INTEREST DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > Disclaimer: This e-mail message along with any attachments is > intended only > for the addressee and may contain confidential and privileged > information of > GTL Limited. If the reader of this message is not the > intended recipient, > you are notified that any dissemination, distribution or copy of this > communication is strictly prohibited. If you have received > this message by > error, please notify us immediately, return the original mail > to the sender > and delete the message from your system. > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http:/
java.lang.OutOfMemoryError
Hi I am getting this error in tomcat. What should I do to get rid of this? ERROR!: ** Message: java.lang.OutOfMemoryError Attributes: javax.servlet.error.servlet_name=jsp javax.servlet.error.exception=javax.servlet.ServletException javax.servlet.error.request_uri=/mori/jsp/events/view/viewAll.jsp javax.servlet.error.status_code=500 javax.servlet.error.exception_type=class javax.servlet.ServletException javax.servlet.jsp.jspException=java.lang.OutOfMemoryError null java.lang.OutOfMemoryError === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: java.lang.OutOfMemoryError
It is not always a memory leak that causes "OutOfMemoryError". A memory leak is a situation when some application, for example JVM allocates some amount of memory and then loses pointers to that area. So, the allocated area becomes a "black box" which you can not access and you need a key to open it. It is very rare situation when some Java code causes memory leaks. They are reported and can be found at "Bug parade" on SUN's web site. "OutOfMemoryError" often caused by bad design. It can be for example: 1. Your program trying to process too much data. Increase the amount of memory or decrease the amount of data to be processed. Actually you can do it in a wise way: control how much memory left and if it less than, let say 20 %, decrease the processing speed. It was described in one of our tips while ago... 2. Your program holding too many objects and then program is running out of memory. You need to use close methods if you do need them. You can even explicitly set a reference to null to speed up garbage collection. 3. You use too many objects with finalizers... They consume your memory before you get any chance to run them... But most of the times, i have come to conclusion, its due to bad designing of applications which further coz memory leaks. Keeping the other factors in mind can help you solve ur problem. > -Original Message- > From: Daniel [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 03, 2003 11:37 AM > To: [EMAIL PROTECTED] > Subject: java.lang.OutOfMemoryError > > > Hi I am getting this error in tomcat. > > What should I do to get rid of this? > > > > ERROR!: > ** > Message: java.lang.OutOfMemoryError > Attributes: > javax.servlet.error.servlet_name=jsp > javax.servlet.error.exception=javax.servlet.ServletException > javax.servlet.error.request_uri=/mori/jsp/events/view/viewAll.jsp > javax.servlet.error.status_code=500 > javax.servlet.error.exception_type=class > javax.servlet.ServletException > javax.servlet.jsp.jspException=java.lang.OutOfMemoryError > null > java.lang.OutOfMemoryError > > == > = > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > Disclaimer: This e-mail message along with any attachments is intended only for the addressee and may contain confidential and privileged information of GTL Limited. If the reader of this message is not the intended recipient, you are notified that any dissemination, distribution or copy of this communication is strictly prohibited. If you have received this message by error, please notify us immediately, return the original mail to the sender and delete the message from your system. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
JSP Exception
hi, Here Im connecting to DB2 database and Im able to retrieve datas from data base but the pblm is Im unable to update the table. I use the query ResultSet rs1=stmt.executeQuery("update user set pass='india' where eno=1001"); in my JSP page. I get exception as 500 Servlet Exception COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0637E QUERY cannot be found. at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throwInvalidQueryError(Unknown Source) at COM.ibm.db2.jdbc.app.DB2Statement.executeQuery(Unknown Source) at _final._cpass__jsp._jspService(/final/cpass.jsp:31) at com.caucho.jsp.JavaPage.service(JavaPage.java:75) at com.caucho.jsp.Page.subservice(Page.java:497) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) at com.caucho.server.http.Invocation.service(Invocation.java:312) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:536) Can any one say how to solve it plz. rgds, karthik _ Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: Query takes 10 minutes...I need to display some output...how?
This question crops up every so often. My best answer is still to treat the request as a batch request, i.e. program design. Simply initiate the request, and provide a link to fetch the data when it becomes available. (email is always an option as well.) Holding an http connection for 10 miniues introduces problems, and any failures might cause the user to post multiple queries, each one often needing to complete before being aborted. Frank Mancini wrote: I have a jap page that takes about 10 minutes to runthat is ok...it should take that long.. My problem is that I want to display some of the output while the user is waiting. I'm doing document.writes as I'm running the query and it should display, but the browser seems to wait until the whole 10 minute process is done before displaying anythingIs there anyway to change this and display some of the query output while the system is looping thru my query? _ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
Re: JSP Exception
Hi Karthik, Here is a link with some info : http://www.websina.com/bugzero/faq/exception-db2-tab.html Q: What is this COM.ibm.db2.jdbc.DB2Exception? [IBM][JDBC Driver] CLI0637E QUERY cannot be found A: This is a known bug in the JDBC driver in DB2 PF5, it occurs when a SQL statement contains TAB or new-line characters. You need upgrade the JDBC driver. Regards, Ritesh - Original Message - From: "arun s" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 03, 2003 12:15 PM Subject: JSP Exception > hi, > Here Im connecting to DB2 database and Im able to retrieve datas from data > base but the pblm is Im unable to update the table. > I use the query > > ResultSet rs1=stmt.executeQuery("update user set pass='india' where > eno=1001"); > > in my JSP page. I get exception as > > > 500 Servlet Exception > COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0637E QUERY cannot > be found. > at > COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throwInvalidQueryError(Unknown > Source) > at COM.ibm.db2.jdbc.app.DB2Statement.executeQuery(Unknown Source) > at _final._cpass__jsp._jspService(/final/cpass.jsp:31) > at com.caucho.jsp.JavaPage.service(JavaPage.java:75) > at com.caucho.jsp.Page.subservice(Page.java:497) > at > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) > at com.caucho.server.http.Invocation.service(Invocation.java:312) > at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244) > at > com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) > at com.caucho.server.TcpConnection.run(TcpConnection.java:137) > at java.lang.Thread.run(Thread.java:536) > > > > > Can any one say how to solve it plz. > > rgds, > karthik > > _ > Help STOP SPAM: Try the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > > === > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com