Sachin,
I copied your code and pasted in a jsp file. It worked. Thanks a million.
shuaib
- Original Message -
From: "Sachin S. Khanna" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 17, 2001 1:59 AM
Subject: Re: jsp and bean on javawebserver2.0 not working
The
The useBean attribute has an id attribute and not name as your code reveals.
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
- Original Message -
From: cupid1 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 1:32 AM
Subject: jsp and bean on
Sachin,
I tried with id attribute too but no success. Thnx for the response though.
shuaib.
- Original Message -
From: "Sachin S. Khanna" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 5:15 AM
Subject: Re: jsp and bean on javawebserver2.0 not working
The
Instead of doing this:
Area = jsp:getProperty name="circle1" property="area"
try this:
%
double area = circle1.getArea();
%
Area = %=area%
..
Nishit
-Original Message-
From: cupid1 [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: jsp
Hello all,
A basic question. I have a sample jsp and a bean. When I try to test it i
get "page cannot be displayed" message in IE. Here is my source code for jsp
file:
html
body
jsp:useBean name="circle1" class="hellobean.Circle"
jsp:setProperty name="circle1" property="radius" value="2"
Area