Macro Substitution

2000-08-25 Thread B R Nair
Hi, Can any one tell me how is macro substitution done in Java? Here is my problem: I have 30 variables, namely: String u1 .. String u30. I have another variable namely intrandomNum Value of randomNum varies between 1 and 30. I wanted to assign some value to the variable u1 to u30 dep

Re: [Editing an existing file in a separate window & printing]

2000-08-23 Thread B R Nair
lt;[EMAIL PROTECTED]> Date: Monday, August 21, 2000 11:20 AM Subject: Re: [Editing an existing file in a separate window & printing] >u can do it in java >with print stream in java.io package >or u can go through the examples given in jdk1.3 > > > > >B R Nair <[

Editing an existing file in a separate window & printing

2000-08-19 Thread B R Nair
Hello All, How can I edit and display an existing text file in a separate window? (Something similar to "notepad readme.text" in Windows xx platform) Is it possible to take a printout (on the printer) of the file being edited? If yes, please help me to do this. Note: This is just to generate ce

Re: Compilation

2000-08-13 Thread B R Nair
quot;); > System.out.println(errorline); > } > > } // end main() > > > static boolean checkLF; // A kludge to take care of the fact that text >files >// on different files can have different >formats. Lines can end >

Re: Proprtionate String Padding

2000-08-02 Thread B R Nair
Thank you very much for your timely and enlightening inputs. Special thanks to Richard Yee Mark Mascolino-MR Abhishek Shodhan Naresh Thawani Frédérik Delacourt Scott Evans Thanks and regards BRN. === To unsubscribe: mailto

Re: Compilation

2000-07-31 Thread B R Nair
urce code ..still an empty error.txt >file will be generated. > >Just try it out and let me know whether you succeeded. > >Manish... >> -- >> From: B R Nair[SMTP:[EMAIL PROTECTED]] >> Reply To: A mailing list about Java Server Pages specification

Re: Proprtionate String Padding

2000-07-31 Thread B R Nair
Thanks a lot Santosh, Naresh & Richard for your invaluble input. "Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings." & "A string buffer is like a String, but can be modified." Whenever I read the above Java lanuage documentation

Re: Compilation

2000-07-30 Thread B R Nair
gt;> Subject: Re: Compilation >> >> Go to control panel... >> click on console >> and change the layout screen buffer size and then check... >> >> >> -Original Message- >> From: A mailing list about Java Server Pages

Re: Proprtionate String Padding

2000-07-30 Thread B R Nair
>// append the spaces >for(int i=s.length();i sb.append(SPACE); > return sb.toString(); >} > >-Richard > > >-Original Message- >From: B R Nair [mailto:[EMAIL PROTECTED]] >Sent: Friday, July 28, 2000 6:26 AM >To: [EMAI

.\ in class path

2000-07-28 Thread B R Nair
Hello, In the SET CLASSPATH=C:\SBN\LEGAL.JAR;.\ statement (MS DOS environment), what is the function of the last two characters, namely, ".\"? Thanx in advance. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signo

Re: Help for JSP implicit objects

2000-07-28 Thread B R Nair
Mnish, try this one: http://java.sun.com/products/jsp/index.html BRN. -Original Message- From: manish jain <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, July 28, 2000 2:55 PM Subject: Help for JSP implicit objects >Where can i get help for JSP implicit obj

Proprtionate String Padding

2000-07-28 Thread B R Nair
Hello, How can I pad a string with variable spaces? When I query a database, the columns I get are not of fixed length. I would like to make it uniform length. Is there any short cut to add spaces at the end of a string? In other words can anyone give me the Java equivalent to this pseudo code?

Re: property = "*"

2000-07-26 Thread B R Nair
Thank you Kevin Duffey Thank you Vanisree for your illuminating answer. Thank you very much for the time & pain taken to help me. BRN === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some rele

Re: Compilation

2000-07-26 Thread B R Nair
- From: Karanjit Singh <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, July 25, 2000 11:11 PM Subject: Re: Compilation >go to the frame header right click gointo properties and then increase >buffer size u will be able to scroll across ur errors. >ma

Compilation

2000-07-25 Thread B R Nair
Hello All, I am unable to debug my java beans because while compiling the program, if more errors are there, the error messages roll up and I am able to see only the last messages. I am using JDK 1.3 candidate version under Windows 95. In erlier versions I could say javac filename > repo.log so t

property = "*"

2000-07-24 Thread B R Nair
Hello, Would you please tell me what does * do in the following? Thanks and regards BRN. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

Re: JSWDK & Tomcat

2000-07-20 Thread B R Nair
fications, whereas Tomcat supports Servlet 2.2 + >JSP 1.1 (which are a part of J2EE). > >Petr > >> -Original Message- >> From: B R Nair [mailto:[EMAIL PROTECTED]] >> Sent: Sunday, July 16, 2000 9:53 PM >> To: [EMAIL PROTECTED] >> Subject: JSWDK &am

JSWDK & Tomcat

2000-07-17 Thread B R Nair
Hello, Greetings to all. Would anyone please tell me what is the difference between JSWDK & Tomcat? Thanks in advance B R Nair === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".