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 depending upon the
value of randomNum.

For example,
if (randomNum == 2)
u2 = 45;

if (randomNum == 5)
u5 = 73.


Here, the name of the variable can be constructed by

String str = "u" + Integer.toString(randomNum);
But how can I assign value to the resultant variable?

Thanks in advance
B R N.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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

2000-08-23 Thread B R Nair

Dear Hitesh,

Can you please tell me which is that example? I went through all examples
and could not find it! Are you talking about StylePad? They do not allow you
to print.

Thanks and regards
BRN
-Original Message-
From: Hitesh panchal <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[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 <[EMAIL PROTECTED]> wrote:
>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 certain customized registration forms on the
>fly and to be displayed in a separate window. The visitor is supposed to
>take a printout of it. Please note that the browser's File/Print will not
>suffice the purpose.
>
>Thanks in advance
>BRN.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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 certain customized registration forms on the
fly and to be displayed in a separate window. The visitor is supposed to
take a printout of it. Please note that the browser's File/Print will not
suffice the purpose.

Thanks in advance
BRN.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Compilation

2000-08-13 Thread B R Nair
  errorline = line;  // For saving the LAST line of the error
>messages.
>if (errorOutput == null) {
>   // errorOutput is null only if the output stream to the
>file
>   // couldn't be created, AND this is the first error
>message.
>   // In this case, write the errors to standard output.
>   errorOutput = System.out;
>   System.out.println("*** Can't open file \""
>+ errorFile + "\" -- sending errors to
>standard out.\n");
>   errorFile = "Standard Output";
>}
>errorOutput.println(line.trim());
> }
>  }
>  catch (Exception e) {
> System.out.println("*** Error while trying to get error messages
>from the compiler:");
> System.out.println(e.toString());
> if (foundErrors && errorOutput != null)
>errorOutput.println("*** Error while trying to get error
>messages from the compiler.");
> return;
>  }
>
>  try {
>// Wait for the compiler process to finish.  (Actually, it
>should
>// already be done when the program gets here...)
> compiler.waitFor();
>  }
>  catch (Exception e) {
> System.out.println("*** Error while waiting for compiler to
>finish.");
> System.out.println("*** Output might be incorrect or
incomplete.");
> return;
>  }
>
>  if (foundErrors == false) {
> System.out.println("Compilation finished with no errors.");
> errorOutput.println("No errors");
>  }
>  else {
> System.out.println("Compiliation finished with errors.  Error
>messages sent to " + errorFile + ".");
> 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
>// with either a carriage return, or a line
>feed, or a carriage
>// return followed by a line feed.  This
>variable is used by the
>// following subroutine so that it can remember
>to throw away
>// a line feed that follows a carriage return,
>rather than
>// treat it as an empty line.
>
>   static String readLine(InputStream in) {
> // This subroutine reads one line from the input stream, in.
> // If the end-of-stream has been reached, null is returned.
> // (Null is also returned if an input error occurs.)
>  try {
> int ch = in.read();
> if (checkLF && ch == '\n')
>ch = in.read();
> if (ch == -1)
>return null;
> StringBuffer b = new StringBuffer();
> while (ch != -1 && ch != '\r' && ch != '\n') {
>b.append( (char)ch );
>ch = in.read();
> }
> return b.toString();
>  }
>  catch (IOException e) {
> return null;
>  }
>   }
>
>
>}  // end class cef
>
>-Original Message-
>From: B R Nair [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 30, 2000 6:17 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Compilation
>
>
>Hello Manish,
>
>javac Hello.java -J-Djavac.pipe.output=true Hello.java>error.txt
>
>does not make any output to error.txt; it makes an empty error.txt
>Can you please make it working?
>
>Control-pannel/console and Buffer-size are not available on my Win 95
>machine. I hope making the above command workable is the only solution
>available to me.
>
>Thanks
>BRN.
>
>
>-Original Message-
>From: Manish Bijay Kumar <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Thursday, July 27, 2000 4:07 PM
>Subject: Re: Compilation
>
>
>>Hi ruchi..
>>u can use following command to generate a error log. while changing the
>>buffer size is also a solution but for me at least this one is more handy.
>>Suppose I want to compile a xyz.java file. then my command should be.
>>javac -J-Djavac.pipe.output=true *.java>error.txt
>>
>>where,
>>xyz.java is the bean you are going to compile.
>>error.txt is the error log. (you can give any name for this. If you just
>>give like this error.txt will get generated in your current
directory...but
>>you can 

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 [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Compilation

2000-07-31 Thread B R Nair

Dear Manish,
Thanks for your input. I changed your first command a little bit because the
first command that you gave me (javac -J-Djavac.pipe.output=true
*.java>error.txt) was not working.

Sorry for disturbing you. Your revised command
javac -J-Djavac.pipe.output=true Hello.java>error.txt
runs but it always gives an empty error.txt, eventhough errors are reported
on the screen. Is it a bug in 1.3 candidate version? I am still using 1.3
candidate version!

Thanks and regards
BRN.

-Original Message-
From: Manish Bijay Kumar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, July 31, 2000 11:42 AM
Subject: Re: Compilation


>Hi BRN,
>The command you used is not correct.
>Command should be..
>javac -J-Djavac.pipe.output=true Hello.java>error.txt
>
>One more thing...
>If you don't have any error in your source 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 and
>> reference
>> Sent: Sunday, July 30, 2000 6:46 PM
>> To:   [EMAIL PROTECTED]
>> Subject:  Re: Compilation
>>
>> Hello Manish,
>>
>> javac Hello.java -J-Djavac.pipe.output=true Hello.java>error.txt
>>
>> does not make any output to error.txt; it makes an empty error.txt
>> Can you please make it working?
>>
>> Control-pannel/console and Buffer-size are not available on my Win 95
>> machine. I hope making the above command workable is the only solution
>> available to me.
>>
>> Thanks
>> BRN.
>>
>>
>> -Original Message-
>> From: Manish Bijay Kumar <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Thursday, July 27, 2000 4:07 PM
>> Subject: Re: Compilation
>>
>>
>> >Hi ruchi..
>> >u can use following command to generate a error log. while changing the
>> >buffer size is also a solution but for me at least this one is more
>> handy.
>> >Suppose I want to compile a xyz.java file. then my command should
be.
>> >javac -J-Djavac.pipe.output=true *.java>error.txt
>> >
>> >where,
>> >xyz.java is the bean you are going to compile.
>> >error.txt is the error log. (you can give any name for this. If you just
>> >give like this error.txt will get generated in your current
>> directory...but
>> >you can specify the path also. Like, C:\myfolder\error.txt) Then command
>> >would look like this..
>> >javac -J-Djavac.pipe.output=true *.java>C:\myfolder\error.txt
>> >
>> >
>> >Manish
>> >
>> >
>> >> --
>> >> From: Ruchi Duggal[SMTP:[EMAIL PROTECTED]]
>> >> Reply To: [EMAIL PROTECTED]
>> >> Sent: Thursday, July 27, 2000 3:09 PM
>> >> To:   [EMAIL PROTECTED]
>> >> 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 specification and
>> reference
>> >> [mailto:[EMAIL PROTECTED]]On Behalf Of B R Nair
>> >> Sent: 26 July 2000 18:04
>> >> To: [EMAIL PROTECTED]
>> >> Subject: Re: Compilation
>> >>
>> >>
>> >> Hello,
>> >>
>> >> Thanks for the answer. But my problem is persisting! I tried many
>> >> combinations in the property dialogue of the MSDOS prompt. But I was
>> never
>> >> successful in making the screen scrollable. Therefore, compiling of
>> Beans
>> >> and JSP are nightmares!
>> >>
>> >> Help me please!
>> >> BRN.
>> >>
>> >> -Original Message-
>> >> 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 increas
e
>> >> >buffer size u will be able to scroll across ur errors.
>> >> >mandeep
>> >> >
>> >> >
>> >> >>From: B R Nair <[EMAIL PROTECTED]&

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, I am a lot more
confused.
If a string is constant, I should not be able to change its value after it's
created. But I can change the value of the string at my will (My experiments
show it *). Then, why we should we use StringBuffer instead of string when
both give the same result?


Thanks and regards
BRN.

*
public class Strpad
{
public static void main(String[] Arg)
{
  String s = "String";
  String a = s;
  String b = "Buffer";
  String m = "mutable";
  String p = "padding -> ";
  String c = s+ " " + p;
  for (int i = 1;i<11;i++)
   c = c + i;
  System.out.println(c);
  System.out.println();
  StringBuffer sb = new StringBuffer(s+b+" "+p);
  for(int i=1;i<11;i++)
   sb.append(i);
  String d = sb.toString();
  System.out.println(d);
  System.out.println();
  a = a + " is (not) " + m + "?";
  System.out.println(a);
}
}

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Compilation

2000-07-30 Thread B R Nair

Hello Manish,

javac Hello.java -J-Djavac.pipe.output=true Hello.java>error.txt

does not make any output to error.txt; it makes an empty error.txt
Can you please make it working?

Control-pannel/console and Buffer-size are not available on my Win 95
machine. I hope making the above command workable is the only solution
available to me.

Thanks
BRN.


-Original Message-
From: Manish Bijay Kumar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, July 27, 2000 4:07 PM
Subject: Re: Compilation


>Hi ruchi..
>u can use following command to generate a error log. while changing the
>buffer size is also a solution but for me at least this one is more handy.
>Suppose I want to compile a xyz.java file. then my command should be.
>javac -J-Djavac.pipe.output=true *.java>error.txt
>
>where,
>xyz.java is the bean you are going to compile.
>error.txt is the error log. (you can give any name for this. If you just
>give like this error.txt will get generated in your current directory...but
>you can specify the path also. Like, C:\myfolder\error.txt) Then command
>would look like this..
>javac -J-Djavac.pipe.output=true *.java>C:\myfolder\error.txt
>
>
>Manish
>
>
>> --
>> From: Ruchi Duggal[SMTP:[EMAIL PROTECTED]]
>> Reply To: [EMAIL PROTECTED]
>> Sent: Thursday, July 27, 2000 3:09 PM
>> To:   [EMAIL PROTECTED]
>> 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 specification and reference
>> [mailto:[EMAIL PROTECTED]]On Behalf Of B R Nair
>> Sent: 26 July 2000 18:04
>> To: [EMAIL PROTECTED]
>> Subject: Re: Compilation
>>
>>
>> Hello,
>>
>> Thanks for the answer. But my problem is persisting! I tried many
>> combinations in the property dialogue of the MSDOS prompt. But I was
never
>> successful in making the screen scrollable. Therefore, compiling of Beans
>> and JSP are nightmares!
>>
>> Help me please!
>> BRN.
>>
>> -Original Message-
>> 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.
>> >mandeep
>> >
>> >
>> >>From: B R Nair <[EMAIL PROTECTED]>
>> >>Reply-To: A mailing list about Java Server Pages specification and
>> >> reference <[EMAIL PROTECTED]>
>> >>To: [EMAIL PROTECTED]
>> >>Subject: Compilation
>> >>Date: Tue, 25 Jul 2000 10:58:00 +0530
>> >>
>> >>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 that I could check repo.log for errors. This does not work with JDK
>> 1.3.
>> >>
>> >>Can anyone help me please?
>> >>BRN.
>> >>
>>
>>
>> ==
>> =
>> >>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> >>JSP-INTEREST".
>> >>Some relevant FAQs on JSP/Servlets can be found at:
>> >>
>> >>  http://java.sun.com/products/jsp/faq.html
>> >>  http://www.esperanto.org.nz/jsp/jspfaq.html
>> >>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>> >>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>> >
>> >
>> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>> >
>>
>=
>> ==
>> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> >Some relevant FAQs on JSP/Servlets can be found at:
>> >
>> > http://java.sun.com/products/jsp/faq.html
>> > http://www.

Re: Proprtionate String Padding

2000-07-30 Thread B R Nair

Dear Richard,

Thanks a lot for your time and effort.
This is what exactly I wanted.
Thank you very much.
BRN.


-Original Message-
From: Richard Yee <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Saturday, July 29, 2000 12:10 AM
Subject: Re: Proprtionate String Padding


>If you are displaying the String in a browser, padding the string with
>spaces will not produce the desired results since HTML ignores extra spaces
>and newline characters.  Instead, you need to append " " in place of a
>space character.
>
>String padString(String s, int desiredSize)
>{
>String SPACE = " ";
>StringBuffer sb = new StringBuffer();
>
>// Validate the input parameters
>if (desiredSize < 0)
>desiredSize = 0;
>if (s == null || s.equals(""))
>{ // if s is null or is an empty string, return all spaces
>for(int i=0;isb.append(SPACE);
>return sb.toString();
>}
>
>// add the original string to the string buffer
>sb.append(s);
>// 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: [EMAIL PROTECTED]
>Subject: Proprtionate String Padding
>
>
>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?
>
>desiredString = string1 +  (35 - string1.length()) spaces.
>
>Thanks in advance
>BRN
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



.\ 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: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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 objects
>session,application,request,responseetc
>Can u tell me links  Also books for the same
>
>Manish.
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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?

desiredString = string1 +  (35 - string1.length()) spaces.

Thanks in advance
BRN

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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 relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: Compilation

2000-07-26 Thread B R Nair

Hello,

Thanks for the answer. But my problem is persisting! I tried many
combinations in the property dialogue of the MSDOS prompt. But I was never
successful in making the screen scrollable. Therefore, compiling of Beans
and JSP are nightmares!

Help me please!
BRN.

-Original Message-
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.
>mandeep
>
>
>>From: B R Nair <[EMAIL PROTECTED]>
>>Reply-To: A mailing list about Java Server Pages specification and
>> reference <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Compilation
>>Date: Tue, 25 Jul 2000 10:58:00 +0530
>>
>>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 that I could check repo.log for errors. This does not work with JDK
1.3.
>>
>>Can anyone help me please?
>>BRN.
>>
>>==
=
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>JSP-INTEREST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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 that I could check repo.log for errors. This does not work with JDK 1.3.

Can anyone help me please?
BRN.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



Re: JSWDK & Tomcat

2000-07-20 Thread B R Nair

Dear Petr

Thanks a lot for the precise and timely answer.

BRN.

-Original Message-
From: Petr Jiricka <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, July 18, 2000 6:03 PM
Subject: Re: JSWDK & Tomcat


>In a way, JSWDK is a predecessor of Tomcat. Meaning that JSWDK was a Sun
>servlet + JSP engine product before it was open sourced and became Tomcat.
>So Tomcat  uses (or used to use) a lot of JSWDK code.
>
>>From the user's point of view, the biggest difference is that JSWDK
supports
>Servlet 2.1 + JSP 1.0 specifications, 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 & Tomcat
>>
>>
>> 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".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>>
>
>===
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets



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".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets