Hi Shahata,
You can measure the time it takes to execute a bunch of code with
System.currentTimeMillis()
For example :
long beginTime = System.currentTimeMillis();
//Do some work (like executing SQL query, or opening a connection)
long timeItTook = System.currentTimeMillis() - beginTime;
System.
Hi Thomas,
This is not a JSP list about Java3D or anything related to this.
You'd probably have more results by asking this question in a general Java
list or graphics related list.
By the way "no main class found" means that the JVM could not find the
method "main" in the startup class.
Any Java
Hi,
I found Hibernate to be less complex than EJBs and it does the job for what
I need.
You can reverse-engineer an existing database to create JavaBean classes
from it, you can take existing javabeans and generate database-generation
SQL code to create the tables, and a lot of other useful things
You should create a servlet that creates a new thread in it's init() method
:
*** IN WEB.XML :
config
your.servlet.class.name
1
By adding the line 1, you're telling the
servlet context to call the init() method of your servlet when it loads.
This is the ideal place to start a
Hi,
yourArrayListReference should be an object instance stored either in
- the page context
- the request context (request.setAttribute("yourArrayListReference",
object)
- the application context
(getServletContext().setAttribute("yourArrayListReference", object)
HTH,
David
-Mess
s JSP... and Homesite acts like a
good WYSIWYG HTML editor as well...
its hardly coding at hand anymore...but u seem to have missed the point
completely
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of David Ma
Hi,
Just a quick word to ask you : why do you still code in homesite?
Today's IDEs make a good job of handling JSPs and you should definitely take
a look at some...
And don't tell me it's because of the price !! Some IDEs like NetBeans
(www.netbeans.com) are 100% free.
I don't think there is an
Hi,
Why not use the servlet's 2.3 feature called Session lifecycle events ?
There is an interface that you can register as a session listener called
HttpSessionListener
(javax.servlet.http.HttpSessionListener)
Each time a session is created, the method sessionCreated will be called
with a refere
Hi Abdul,
Normally, all you have to do with Tomcat (the latest version) is to put your
webapps in $TOMCAT$/webapps directory.
The easiest way to deploy a webapp in such a way is to put the .WAR (Web
Archive) in that directory. When started, Tomcat will auto-deploy (that is,
extract the files from
You could send a bunch of characters to the client and measure the time
it takes to transfer (with somewhat of a timer) and then, since you know
the size of what you're sending, you could easily calculate the speed.
This is just an idea, nothing technical
HTH,
David
-Original Message-
F
Those files can also be in your Application Server's directory.
For example : with Tomcat, the %TOMCAT_HOME$/work directory is where
tomcat stores the compiled JSPs.
HTH,
David
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTE
Hi Edward,
It is mostly impossible : when the user's browser parses a line like
this :
http://192.168.39.143:8080/test/system.
js">
It must request and download the file "system.js" so that it can execute
it on the user's computer. If you block access to this file, even the
browsers won't be
Hi,
Is there any people out there using Struts Validator? On Struts website,
the help for this topic is TODO and on David Winterfeldt's website
(http://home.earthlink.net/~dwinterfeldt)
the documentation seams obsolete and disorganized.
I searched google for this and found no help.
Any help wil
I'm also new to this list and I, too, got the same problem when posting
my first message.
It seams that it is most likely inevitable, and this is the price to use
this list.
I simply delete all those auto-reply messages when I receive them.
David
-Original Message-
From: A mailing list a
Hi everyone,
I think it may be a good idea to remove your out-of-office
auto-responses,
that is more than annoying...
THANKS
--
David Marquis
Neopeak Internet Solutions
www.neopeak.com
===
To unsubscribe: mailto [EMAIL
Yes, I agree with Tiago.. If you want free, community-supported and
constantly-evoluing IDE, NetBeans is the way to go.
It integrates Tomcat 3.2 directly in the IDE and the next version will
use Tomcat 4
HTH,
David
-Original Message-
From: A mailing list about Java Server Pages specificat
: NetBeans anybody? I got a bug...
maybe its trying to read a network drive that isnt connected anymore...
-Original Message-
From: David Marquis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 4:05 PM
To: [EMAIL PROTECTED]
Subject: NetBeans anybody? I got a bug...
Hi folks
Hi folks,
Since this morning, my NetBeans IDE freezes when loading (while the
splash screen is on) at the message "Opening main window..."
Is this a known bug or my NetBeans has just gone crazy?
Thanks for your help,
--
David
18 matches
Mail list logo