Re: Problem deleting a file using JSP

2001-12-13 Thread Panagiotis Konstantinidis
Ronald thank you again for your help. The problem is finally solved. I moved my application to Solaris, set up the policies and it worked. I really do not know yet what the problem was in Windows, but I guess it has to do something with the Windows settings. Maybe I needed to set up the

Off Topic: Unicode

2001-12-13 Thread Jagan K Samuel
Dear All, I want to output a particular mathematical operator to a file. This operator looks like the '=' sign but has one more '-', underneath the other two. The unicode number seems to be 2261. How can I 1. show this character as it is using system.out.println() 2. output this to a

Re: Urgent !!!!!!!! Please help me

2001-12-13 Thread Kwan, William
Hi, Try the following. script language='javascript' function verifydate() { if (document.form1.txtbox.value == ) then { document.form1.txtbox.focus(); return false; }else return true; } /script html body form method='post'

Re: Usage of jsp:include versus file include

2001-12-13 Thread Swart, James (Jim) ** CTR **
Title: RE: Usage of jsp:include versus file include Yeah I noticed that. I had to resave the .JSP file that used the included files so it knew to recompile it, hence, it pulls in the included files again. That is kinda annoying.

Re: Usage of jsp:include versus file include

2001-12-13 Thread Oleg Zhurakouksy
Title: RE: Usage of jsp:include versus file include I think "file include" is an HTML command that gets processed by the browser as opposed to jsp:include that gets eventualy compiled into the servlet. Also check this scenario: (it's kind of simmilar to this problem) Let's say you have a

Oracle's jDeveloper

2001-12-13 Thread Charles Williams
Title: Oracle's jDeveloper For anyone doing Java, jdbc and jsp work in this environment: I'm trying to avoid all the fancy menu choices in jDeveloper and simply write a DBConn.java file and untitled.jsp file. My jsp file says % DBConn dbcon = new DBConn();

Re: Oracle's jDeveloper

2001-12-13 Thread Oleg Zhurakouksy
Title: Oracle's jDeveloper It's not just Oracle Any modern tool would give you simmilar error. It all comes down to dirrectory structure that basicaly looks at two things: 1. Document root (html, jsp, etc..) and classpath (java classes, java beans, jar files etc...) I would say it would

Re: Package

2001-12-13 Thread David Nguyen
I got javax.sql.DataSource from j2sdkee1.3. If you don't use the whole J2EE functionalities you can just extract what you need from j2ee.jar. javax.naming stuff is available with jdk1.3. david -Original Message- From: A mailing list about Java Server Pages specification and reference

Re: Package

2001-12-13 Thread Richard Yee
Dinesh, The packages are in the JDBC 2.0 Standard Extension API which can be downloaded from here: http://java.sun.com/products/jdk/1.2/docs/guide/jdbc/ or for a more direct URL: http://java.sun.com/products/jdbc/download.html It is easier to download just the jdbc2_0-stdext.jar file than

Re: Off Topic: Unicode

2001-12-13 Thread Mike Akerman
On Thu, 13 Dec 2001, Jagan K Samuel wrote: Dear All, I want to output a particular mathematical operator to a file. This operator looks like the '=' sign but has one more '-', underneath the other two. The unicode number seems to be 2261. How can I 1. show this character as it is

date difference

2001-12-13 Thread King Maurice
Does someone have an example of how to calculate the date difference in java. For example I have these two dates date #1 [12/01/2001] date #2 [12/31/2002] How do I calculate the # of days apart from date #1 to date #2 Need some guidiance~

Re: date difference

2001-12-13 Thread Chris Pratt
This series of articles in JavaWorld helped me with a similar question http://www.javaworld.com/jw-12-2000/jw-1229-dates.html (*Chris*) - Original Message - From: King Maurice [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 2:44 PM Subject: [JSP-INTEREST]

Re: date difference

2001-12-13 Thread Richard Yee
You can first parse the strings using the DateFormat.parse() method to get a Date object and then use the Date.getTime() method to return the # of milliseconds from the epoch for each date. Subtract the values returned by getTime(). Divide the result by (60 * 60 * 24 * 1000) = (8640) to get

Re: date difference

2001-12-13 Thread Chris Pratt
Actually, this is probably the most useful: http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-time.html (*Chris*) - Original Message - From: Chris Pratt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 3:06 PM Subject: Re: [JSP-INTEREST] date difference

Re: date difference

2001-12-13 Thread syed huda
Is there any way to get the difference in year, month, day format? - Original Message - From: Richard Yee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 4:18 PM Subject: Re: date difference You can first parse the strings using the DateFormat.parse() method

Re: date difference

2001-12-13 Thread Richard Yee
I would think that the results of such a calculation would not be very accurate since months and years have varying lengths. For instance, what would be the result of taking the difference of 11/30/2001 and 2/28/2001 ? is it 9 months or 9 months and two days? Regards, Richard At 04:28 PM

Re: date difference

2001-12-13 Thread Chris Tucker
Take a look at the javadocs on java.util.Date and java.util.Calendar. Chances are you'll also want to work with java.util.GregorianCalendar (the Gregorian calendar being the one the western world lives on). -Original Message- From: A mailing list about Java Server Pages specification and

newbie: how tell html form where to find servlet

2001-12-13 Thread John Kilbourne
I posted earlier to ask how to pass data from a servlet to a jsp, and appreciate the help I received. My problem is more fundamental though. I am working with jswdk 1.0, and got a basic servlet to be invoked from an html form. I would like use a jsp to display a table that the servlet accesses,

Newbie: Using session variables and creating cart interface.

2001-12-13 Thread Kirsten M. Johnson
I am new to this group and would appreciate any help. I need to modify my JSP to create a shopping cart interface. I have a form which contains: 1)Checkbox: Is checked if record ID is to be added to shopping cart; Checked value is record ID from the ID column. 2)Button: Submits form (or other

wrinitng into a blob field in oracle

2001-12-13 Thread sachin shetty
Hi , i need to write into a blob field in oracle from a servlet , but facing lot of priblems . please help me with some scriplet which does it thanks in advance sachin shetty __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for

Multilingual in jsp's

2001-12-13 Thread SriHari
Can any one suggest a location /information on how to use Multilinguals in jsp's other than embedding them with font Regards Sree Hari === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For

Re: OnKeyPress

2001-12-13 Thread Sreenath V
hope u dont know that jsp will serve HTML as its output, so its not that it works in html and doesn't wrk in JSP,probably umight have made mistake in generating html from jsp - Original Message - From: Vibha Jindal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 02, 2001

Iplanet 6 Problem

2001-12-13 Thread piyush jain
Hello, I am facing problem with iplanet web server 6.0. The server stops working after some time having the message in the error log as Error receiving connection (No process is on the other end of the pipe.). I am not able to trace the reason of the problem. Could anyone help me on that.