Quotes Problem

2002-01-30 Thread Vibha Jindal
Hi, I am encountering a problem. I am making an array using JAVAScript in a JSP. !-- MAKE ARRAY OF COMMODITY VECTOR -- script language=Javascript !-- lArCommodity = new Array( %= (lvCommodity.size()+1) %); lArCommodity[0] = new Array(, ); % for (int i=0; ilvCommodity.size(); i++) {

Re: Quotes Problem

2002-01-30 Thread Sabari Arasu (CTC)
Try this lArCommodity[%= (i+1) %] = new Array('%= lComboData.ciId %', '%= lComboData.csName %' ); Sabari Arasu TCS Chennai. -Original Message- From: Vibha Jindal [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: Quotes

Re: PreTranslationCompiler error??? in Forte CE

2002-01-30 Thread Petr Jiricka
Hi Tref, thnaks for the report, this is definitely a bug in Forte, we will look into this and let you know. I am assuming you are using Forte CE version 3.0, right ? Petr - Original Message - From: Gare, Trefor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002

Re: Quotes Problem

2002-01-30 Thread Vibha Jindal
Wow!! It worked!! Thanx a tonne - Original Message - From: Sabari Arasu (CTC) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 3:11 PM Subject: Re: Quotes Problem Try this lArCommodity[%= (i+1) %] = new Array('%= lComboData.ciId %', '%=

Re: : A JDBC problem!

2002-01-30 Thread Toms( Marek
...looks like the data dissappear during the transportation from Excel, because the only case the method getString() returns null is when the data in db contains SQL Null. How do you fill in that column in Excel? Do you use a rule? Cutty wrote: [EMAIL PROTECTED]"> I found that when

Re: Quotes Problem

2002-01-30 Thread Vibha Jindal
Ohh no!! It has introduced problems with single quotes now!! Any solution that will counteract both? - Original Message - From: Vibha Jindal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 3:10 PM Subject: Re: Quotes Problem Wow!! It worked!! Thanx a tonne

Re: Quotes Problem

2002-01-30 Thread Gunaseelan Nagarajan
hi, you can put the html equivalent for the characters like something like StringBuffer result = new StringBuffer(arg.length()); char ch; for(int i=0; iarg.length(); i++){ ch = arg.charAt(i); if(ch

SV: Java 2 question

2002-01-30 Thread Jan Arenö
a. is the right (i think) why you can't run it? I don't know if the classname is the problem? All classes should have a big letter, in your case: public class Incr { ... The file should also be named Incr.java (compiled the name will be Incr.class) My answer may not solve anything, it might be

FW: Re: Java 2 question

2002-01-30 Thread Paul Idusogie
Thanks,Paul IdusogieTechnical ArchitectConsulting ServicesStellent Inc. Golden Triangle DriveEden Prairie, MN 55104Desk: 952.656.2755Fax: 952.903.2115Email: [EMAIL PROTECTED]website: http://www.stellent.com -Original Message-From: Paul Idusogie Sent: Wednesday, January 30,

Re: Looking for a little help

2002-01-30 Thread Peter Claesson (EUS)
Title: RE: Looking for a little help You can add a URL parameter that states the bookmarked URL the user was accessing. In the login page, after the user been succesfully authenticated, redirect them the the bookmarked URL using the URL parameter, and if it doesn't exist, redirect them to a

Please help me with JavaMail

2002-01-30 Thread Lorena Carlo
Hello everybody, Can somebody tell me how can I send more than one copy in the cc field of a mail using JavaMail. Do I have to use some kind of separator?. Thanks in advance, Lorena Carló === To unsubscribe: mailto

Re: Java 2 question

2002-01-30 Thread Paul Idusogie
The correct answer is a. 4 4 8 6 Thanks, Paul Idusogie Technical Architect Consulting Services Stellent Inc. Golden Triangle Drive Eden Prairie, MN 55104 Desk: 952.656.2755 Fax: 952.903.2115 Email: [EMAIL PROTECTED] website: http://www.stellent.com -Original Message- From:

Re: Please help me with JavaMail

2002-01-30 Thread BootedBear
Check out the following fragment: Properties props = new Properties(); props.setProperty( mail.host, yoursmtpserver.com ); try { Session mailSession = Session.getInstance( props, null ); MimeMessage message = new MimeMessage( mailSession );

Re: Java 2 question

2002-01-30 Thread Chris Pratt
This is an SQL database browser done as a Servlet. Have fun. (*Chris*) /** * WebSQL * * @author Chris Pratt * @version 1.0 * * Properties [Optional] * dbdriver = The Database Driver Class * dburl= The Database Instance URL * * 3/8/2000 */ import java.io.BufferedReader;

Free hosting !

2002-01-30 Thread TV Karthick Kumar
Hi, Is there any Free JSP / MySQL hosting providers ?. If so, let me know. Thanks. Karthick _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

New WS forum available

2002-01-30 Thread Eduardo Pelegri-Llopart
There is a new forum available on Java technology for Web Services at: http://forum.java.sun.com/forum.jsp?forum=331 We invite members of the Java community interested in Web Services to participate in the forum. The forum description says: A web service is an application that exists in a

New pack available from SUN.

2002-01-30 Thread Eduardo Pelegri-Llopart
SUN just released the Java WS Developer pack EA1 at http://java.sun.com/webservices/webservicespack.html This pack provides functionality for implementing Web Applications and Web Services. For Web Services, the pack provides access to early versions of the standard Java APIs that are being

Re: New pack available from SUN.

2002-01-30 Thread King Maurice
This is a beta package? - Original Message - From: Eduardo Pelegri-Llopart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 30, 2002 2:31 PM Subject: New pack available from SUN. SUN just released the Java WS Developer pack EA1 at

If you are using JRUN Server 3.1 and the AveConnect 2.5 JDBC driv er for SQLServer 2000, you may be interested.....

2002-01-30 Thread Haseltine, Celeste
This post is targeted at anyone who is currently using/developing JSP/Servlets with Allaire's JRUN 3.1 's tag library and AveConnect's version 2.5 JDBC driver for SQLServer 2000. I've been working with Allaire to try and determine why their new Stored procedure tag in the JRUN 3.1 tag library

Re: looking for a little help!!!

2002-01-30 Thread Joe Cheng
I found this list: http://tcl.activestate.com:8002/resource/software/tools/www/?sortby=date Maybe WinCGI is what you're looking for? I can't imagine it'll be very fast/efficient since it's a regular CGI implementation, but if you need better TCL support you might have to move to AOLserver or

Re: Please help me with JavaMail

2002-01-30 Thread Smita Kotnis
Hi, You can send multiple mails in CC field, by using a loop. you are true in syaying you need to use the separator. Hope the following piece of code will help you. InternetAddress [] addressCC=new InternetAddress[k]; StringTokenizer stCC1= new StringTokenizer(CC,,);

Re: Garbage Collection

2002-01-30 Thread Vikramjit Singh
hi vibha, the objects will be eligible for garbagecollection if it is unreachable i.e. no object references to that particular object. It is always better to put your object references to null. You cannot be sure that setting the object references to null, they will be garbage collected but they

Re: Garbage Collection

2002-01-30 Thread Vibha Jindal
Hi, I was intereested in knowing the effect in Servlets and JSPs. I believe that the Servlets are destroyed as soon as they throw the JSP. And once the JSP displays the HTML, I guess it loses scope. So, all objects initialised in these JSPs and servlets should not require me to set the

Re: JDBC

2002-01-30 Thread Surya Narayana
Dear Rama, To know the number of records returned, use the following twolinesof code. rs.last(); //moves the control to the last record int count = rs.getRow();//gets the row count Thanks and Regards, Surya. - Original Message - From: Rama To: [EMAIL PROTECTED]

Re: JDBC

2002-01-30 Thread Surya Narayana
Hello Rama, You are using rs.next() twice. Thats why it is skipping the first record. Its enough to use rs.next() in while loop. no need of if loop. Thanks Regards,Surya - Original Message - From: Rama To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 11:53

Re: JDBC

2002-01-30 Thread Vikramjit Singh
or u can write if (rs.next()) { rs.beforeFirst(); while (rs.next()) { out.println("username " + rs.getString("username")); }}else { out.println("No record found");} Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-3140 -Original Message-From: Surya Narayana

Re: Garbage Collection

2002-01-30 Thread Sasi Bhushan
You don't need to set null explicitly if you are not code that init method your servlet.The container will create and destroy the for every invocation of your servlet's or JSp's service method. - Original Message - From: Vibha Jindal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: JDBC

2002-01-30 Thread Rama
Title: Message Thank you Vikramjit Singh. Both codes worked perfectly! =) Rama -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Vikramjit SinghSent: Wednesday, January 30, 2002 11:29

Re: JDBC

2002-01-30 Thread Rama
Title: Message thank you Surya Narayana. =) Rama -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Surya NarayanaSent: Wednesday, January 30, 2002 11:37 PMTo: [EMAIL PROTECTED]Subject: