hi all
actually the class i have to pass is
JspWriter
it works fine
Thanks for the respond
Vaishali
Reliance Ind Ltd
Ahmedabad
Hi Vaishali,
make it
out.println(Hello);
and it will work
Manoj
At 10:00 AM 5/11/2002 +0530, you wrote:
Hello all
i wrote a function using
%!
fun(){
'
Hi Vaishali,
make it
out.println(Hello);
and it will work
Manoj
At 10:00 AM 5/11/2002 +0530, you wrote:
Hello all
i wrote a function using
%!
fun(){
'
System.out.println(Hello);
'
'
'
}
%
%
fun();
%
and call it from the main code
every thing is working well but Hello is not printed
-
From: [Vaishali S. Pandya] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 3:59 PM
Subject: Re: can't use out.println in function
no dear
it is also not working
and as per my calique, this statment will print the line on server(tomcat)
try this
HTML
HEAD
TITLE
in the service method when the jsp gets converted to servlet. Thus the out
won't be accessible in the declared method.
-Original Message-
From: [Vaishali S. Pandya] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 11, 2002 4:00 PM
To: [EMAIL PROTECTED]
Subject: Re: can't use out.println
page.(it is printing too)
What is your actual problem ?
s.subramanian
IonIdea Enterprise Solutions
Bangalore.
India.
- Original Message -
From: [Vaishali S. Pandya] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 3:59 PM
Subject: Re: can't use out.println
On 5/10/02 11:30 PM, [Vaishali S. Pandya] [EMAIL PROTECTED] wrote:
Hello all
i wrote a function using
%!
fun(){
System.out.println(Hello);
}
%
%
fun();
%
and call it from the main code every thing is working well but Hello is not
printed why? no compile error is given
I haven't
no dear
it is also not working
and as per my calique, this statment will print the line on server(tomcat)
try this
HTML
HEAD
TITLE Factorial /TITLE
/HEAD
BODY
%!
public static int fact(int i){
System.out.println(i);
if (i==1){
return i;
}
Hello all
i wrote a function using
%!
fun(){
'
System.out.println(Hello);
'
'
'
}
%
%
fun();
%
and call it from the main code
every thing is working well but Hello is not printed
why?
no compile error is given
Regards
Vaishali
Reliance Ind Ltd
Ahmedabad