If you really want to use Swing and a popup for inputs. Then dont do it in a
Tomcat startup class.
Write a Swing stand-alone application that is run INSTEAD of tomcat.
So instead of using the RUN or STARTUP from Tomcat.. you would start the
program enter in the required inputs and then have IT open the Tomcat for
you passing in the parameter that you need.
You can look at using Runtime.exec for that or just calling the main class
of Tomcat yourself.

-Tim

-----Original Message-----
From: Sudarson Roy Pratihar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 5:33 AM
To: [EMAIL PROTECTED]
Subject: Re: start up class in tomcat


The entire application runs on the basis that at the startup of the server,
administrator of the application will input those things and that will be
used in timer thread to access some resources. So currently application
structure depends on that.

Do you have any suggestion ?

Thanks and Regards,
Sudarson

-----Original Message-----
From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 2:44 PM
To: [EMAIL PROTECTED]
Subject: Re: start up class in tomcat


In general, it's not a good idea to make your server classes to wait for
user interaction. Do you have any alternative method to specify
user/password without a dialog box? It should be the solution to your
problem

Regards

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to