Re: Current date in milliseconds

2002-07-01 Thread Geert Van Damme
System.currentTimeMillis() ? new Date().getTime() ? Of course the first one is prefered, but if you already have a Date object, you can use getTime(). Geert Van Damme > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTE

Re: Current date in milliseconds

2002-07-01 Thread Vikramjit Singh
Why dont you try, java. text.SimpleDate Format. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Robert Burdick [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 11:38 PM To: [EMAIL PROTECTED] Subject: Current date in milliseconds I h

Current date in milliseconds

2002-07-01 Thread Robert Burdick
I have been looking at the Calendar, Date, and Timestamp classes in circles trying to figure out how to simply get the current system date/time in milliseconds. Can anyone tell me how this is done?!?!?! === To unsubscribe: m

File System on Linux

2002-07-01 Thread Daniel Jayapaul
I think you have misunderstood my question .. My question is I am using JavaMail to send mails .. In that I am trying to attach the file. All my application is in tomcat server in Linux. When I tried attaching file from the Windows based client Ex c:/example.txt the Linuc cannot convert the pat

Re: how to pass current value in function of jsp?

2002-07-01 Thread Vaishali S. Pandya
Yes bhushan u r right i did check this today only and got the point actually i wanted to do something like shortcut so i do not have to submit my page but no alternate is there i suppose and i have to go for it. right? Thanks Vaishali Reliance Ind Ltd A'bad Bhushan_Bhang

doubt regarding SQLJ

2002-07-01 Thread Kesav, Ramesh
> Hi > > here is a question regarding the SQLJ. When my friend tried to select the > CURRENT DATE from the table he tried with select CURENT DATE from TABLE. > He gave space between CURENT and DATE it did not work. Is there something > special. He is passing this statement to Db2 from SQLj. Do yo

Re: File System on Linux

2002-07-01 Thread Anoop Kumar V
hi Daniel, this is very normal, that linux wdnt be able to identify windows file paths. For this to work u need to mount the windows drive onto Linux. This can be done by examining similar entries in a file under /etc/fstab. then you wd access these files as if they were linux files, as in /usr/

Re: how to pass current value in function of jsp?

2002-07-01 Thread Bhushan_Bhangale
Hello Vaishali, I guess you are doing something wrong here. Tell me are you thinking that when the onBlur event will occur your code will execute the checkemp(String) method? If yes then you are wrong as the checkemp method will execute when the JSP will get served. So in the source of generat

Re: File System on Linux

2002-07-01 Thread rayjoe
ըҩʵÑéÊÒÖƱ¸·½·¨ Daniel Jayapaul дµÀ£º > Hi , > > I am trying to attach files from my windows client and the tomcat server on > the Linux server. The windows file format is not accepted by the Linux. > File format windows = c:/temp/tem.txt (Works perfectly with windows client > and tomcat in

File System on Linux

2002-07-01 Thread Daniel Jayapaul
Hi , I am trying to attach files from my windows client and the tomcat server on the Linux server. The windows file format is not accepted by the Linux. File format windows = c:/temp/tem.txt (Works perfectly with windows client and tomcat in windows server); Same is not accepted in Linux ..and

Re: How to dispatch Request to >1 JSP?

2002-07-01 Thread Bhiogade, Mittal S (SUPP)
dispatching of the request would be one after another, to same or different JSP.. Regards, Mittal S.Bhiogade -Original Message- From: Means, Garann R. [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:47 PM To: [EMAIL PROTECTED] Subject: How to dispatch Request to >1 JSP? H

How to dispatch Request to >1 JSP?

2002-07-01 Thread Means, Garann R.
Hi, Does anyone have a good reference they can point me to, or just some sample code, on dispatching a Request from a servlet to more than one JSP? I have two include files in a larger page that need to receive Vectors with, respectively, up to 64 objects and up to 256 objects. I'd like to keep t

how to pass current value in function of jsp?

2002-07-01 Thread Vaishali S. Pandya
<%! public static boolean checkemp(String emp){ MyConnection con=new MyConnection(); Statement stmt = null; ResultSet rs = null; try{ stmt = con.getCon(1); rs = stmt.executeQuery("select * from hrm_employee_m

Re: off topic - que from java script

2002-07-01 Thread Vaishali S. Pandya
Thank you very much Adrian it's working fine Regards Vaishali Reliance Ind Ltd Ahmedabad Adrian Janssen cc: Sent by: A Subject: Re: off topic - que from java script mailing

Re: Input parameters in JSp

2002-07-01 Thread Bhushan_Bhangale
Hi Sreeni, You are specifying the encoding type of POST method as multipart. So in second.jsp you need to use file upload API which provides method to extract request parameters from a multipart request. -Original Message- From: K Sreenivasulu , Gurgaon [mailto:[EMAIL PROTECTED]] Sent:

Re: off topic - que from java script

2002-07-01 Thread Adrian Janssen
res = window.confirm ( "your text here..." ); opens up a modal dialog box with the specified text on it and OK and Cancel buttons on it. It returns true if OK button is pressed, false if the Cancel button is pressed. > -Original Message- > From: Vaishali S. Pandya [SMTP:[EMAIL PROTECTED]

off topic - que from java script

2002-07-01 Thread Vaishali S. Pandya
Hi all how to ask user a que like "Have u saved the changes" with yes/no/calcel buttons? just like window.promp, is there any thing provided? Thanks Vaishali Reliance Ind Ltd A'bad === To unsubscribe: mailto [EMAIL PROTECTED

Jetty vs Tomcat

2002-07-01 Thread Sowbhagya Valli Suryadevara
Hi, Has anyone used Jetty? JBoss now comes with Jetty integrated. Is Jetty comparable with Tomcat? Should I use Jetty instead of Tomcat? Has anyone compared the two? Thank you Valli IICSSS INDIA === To unsubscribe: mailto [