Re: Null

2007-06-29 Thread domenico di leo
n entire row from the database and then picking a single element from the array. In essence it allows me to treat the result set as a two dimensional array. The concept that I was trying to convey to the OP was to do a try catch and return the desired default value of the proper type. Doug

Re: Null

2007-06-28 Thread domenico di leo
mensional array. The concept that I was trying to convey to the OP was to do a try catch and return the desired default value of the proper type. Doug - Original Message ----- From: "domenico di leo" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, J

Re: Null

2007-06-27 Thread domenico di leo
If I have understand your problem is : you receive a lot of null value afther a query but you don't except them. The problem could be in your if statement . ((String[])queryResults.elementAt(r))[c]).equalsIgnoreCase("null")) you compare a String vector with a String because you have upacsted to

Re: Tomcat does not start

2007-05-30 Thread domenico di leo
I have the same problem, I suppose the cause is JDk 1.6 indeed I use jdk 1.5 and Tomcat play well, On 30/05/07, Dell'oro Marco <[EMAIL PROTECTED]> wrote: Hi there, I'm having problems running Apache Tomcat 6 (But the same happens with Tomcat 5.0) on a Windows XP home computer with Sun JRE 1.6.0_

Re: Need Help Restoring a Seesion after session time-out

2007-05-24 Thread domenico di leo
I suppose you use a servlet to set the session, you can use session.setMaxInactiveInterval(time) where the variable time points out how many second you want to keep alive your session. e.g. time=60*60 =1h. However you should set a reasonable time interval, you can't keep alive your session for

Re: Cannot Access Tomcat Server Using IP Address

2007-05-21 Thread domenico di leo
When you try to acces to your web application form another PC, you need the ip address of server where your application is runnign but also the tcp port(in your case is 8080). the coorect web address is: http://ip_address:8080/login.html On 21/05/07, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wro

Re: Question about jar file name.

2007-05-20 Thread domenico di leo
I'm not expert, but you should out your Jar file into lib directory (WEB-INF/lib) of your application. When Tomcat compiles your class automatically look into lib to find the class. Bye On 20/05/07, Rodrigo Pimenta Carvalho <[EMAIL PROTECTED]> wrote: Hi. I have a TomCat project and its Java s

Re: Getting 404 when trying to access default page in Tomcat when running in Eclipse

2007-05-16 Thread domenico di leo
What are you using ? Eclipse+Tomcat or Eclipse+ Web Tools Platform (WTP)? On 16/05/07, Len Popp <[EMAIL PROTECTED]> wrote: Eclipse Web Tools sets up its own Tomcat configuration, somewhere down in the bowels of the workspace directory. That config does not include the standard Tomcat ROOT webapp

Run Xalan on Tomcat

2007-05-13 Thread domenico di leo
Hi How can I run Xalan on Tomcat? I use Tomcat 5.5.23 and I'm newbie many thanks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED