I have the following code in my main method:
public static void main(String[] args)
{
Image inImage = new ImageIcon(C:\\logo.gif).getImage();
System.out.println(inImage.getWidth()=+inImage.getWidth(null));
System.out.println(inImage.getHeight()=+inImage.getHeight(null));
}
I
hi all,
i am searching for an answer .. there are 2 ways of creating threads ..
1. extending Thread class
2. implementing Runnable
but , it is always better to implement runnable .. i know 1 good reason for that ..
ie. u have an option to extend another class if u implement Runnable interface
Hi All
i'd like to write application where I need to share one Thread between multiple .jsp
pages
eg.
I'll create thread where i would check some file status once in 20sec and svae status
to private string variable
and i'd have a public .checkStatus() method which will return this status
PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: JSP and Threads
Date: Fri, 3 May 2002 14:44:10 +0200
Hi All
i'd like to write application where I need to share one Thread
between multiple .jsp pages
eg.
I'll create thread where i would check some file status once in 20sec
and svae status to private
Hi everybody...
I installed J2sdk 1.3.0 on SUSE 7.3 for sparc. I compiled a class and..
perfect... but when i try to compile a class that instance the first class
then it can't does it.
the error is that it can't find the firs class.
thanks in advanced!
bye
---
Hi all,
does anyone know of a way or a tool that I can use to monitor the threads
from the JVM in my application.
Thanks
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto
hey all,
i was wondering what the best way to stop a thread was.. the jdk docs say
that the stop() method is depreciated, but it doesnt clearly make out a
(safe) alternative.. does anyone have any idea on this matter?
say for instance..
list[i] is a Thread object..
list[i].stop(); -- want to
http://java.sun.com/products/jdk/1.2/docs/guide/misc/threadPrimitiveDeprecat
ion.html
-Original Message-
From: Lai, Kenny [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 2:17 PM
To: [EMAIL PROTECTED]
Subject: gracefully stopping idle/suspended/ threads that are still
alive?
hey
Lai, Kenny wrote:
i was wondering what the best way to stop a thread was.. the jdk docs say
that the stop() method is depreciated, but it doesnt clearly make out a
(safe) alternative.. does anyone have any idea on this matter?
Java provides no alternative. The thread you want
to stop has
Apologies if this isn't the best forum, but I've
come up empty.
We run Tomcat in a chroot environment but cannot
use native threads. Everything works great in a non-chroot environment but
irratic problems occur in chroot unless we use green threads.
Anyone have a clue? pointers
Status Distribution September 14, 2001 19:17:06
The message regarding WTC EXPERIENCE AND TERRORIST THREADS sent on September 14, 2001
19:17:06 was sent by
StaStatus Recipien TypeT Native Name
[EMAIL
I got a RH 7.1 box with the latest apache and Tomcat 3.2.2 running this
morning. However, after lunch the server was seemingly dead as it would
serve no pages... I know I don't have any config files attached, but ...
Are there any 'commonly' misconfigured paramaters that
Is it reasonable to assume that the thread of execution that represents a
request ceases execution after the request has been fulfilled?
I ask because I'd like to know if in my controller servlet I can maintain a
list of currently executing requests.
I imagined getting the current thread my
of your servlet, it looks like the thread ceases execution.
What actually happens, though, is dependent on the internals of your servlet
container. For example, Tomcat recycles request processing threads so that it
doesn't have to create new ones every time. For the same reason, the request
I am writing a servlet/JSP which spawns three java threads and has to wait
for the 3 threads to finish processing before sending the results got from
the threads to the client browser.
Here a gist of what i do
---
doGet method
-Original Message-
From: Radhakrishnan, Sanjay (c)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February 07, 2000 1:50 PM
To: [EMAIL PROTECTED]
Subject: Controlling Threads in Servlets/JSP
I am writing a servlet/JSP which spawns three java threads
and has to wait for the 3 threads
Hello everybody in the group.
I have the following problem.
I have made a jsp, This jsp page has a function call whose execution
time breaks the time out of the browser that i use.
In that case the page is never loaded. I think i have two solution
branches:
1. Configure time out of the
of threads for every istance of a Servlet in memory?
Example: I have 4 Servlets istantiated - does this mean that the
maximum number of threads is 20?
2) Which is the maximum number of servlets that could be simultaneously
istantiated in memory? Is this dependent from the Web Server or the
Application
Hi,
does anybody know, how many threads the free version of Jrun is able to
support concurrently?
Thanks in advance.
Elena
begin:vcard
n:Palanca;Elena
tel;work:Dipartimento di Informatica di Pisa
x-mozilla-html:FALSE
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Dott. Elena
5
Thanks for your message at 03:55 PM 6/23/99 +, Elena Palanca:
Hi,
does anybody know, how many threads the free version of Jrun is able to
support concurrently?
Thanks in advance.
Elena
John ZukowskiFocus on Java Guide / http://java.about.com
Author Java AWT Reference / Mastering
20 matches
Mail list logo