Hi
sorry if it is out of topic. but it is urgent.
i have run my bean in beanbox successfully. and now i am
trying to include it in my program by instantiate method. here is the code i am
using
import java.awt.*;
import java.applet.*;
import java.beans.*;
import java.applet.*;
import java.beans.*;
public class Beans1 extends Applet
{
{
public Beans1()
{
setFont(new Font("Helvetica", Font.BOLD, 14));
setBackground(Color.lightGray);
{
setFont(new Font("Helvetica", Font.BOLD, 14));
setBackground(Color.lightGray);
try
{
{
HelloBean hello1 = (HelloBean) Beans.instantiate( null,
"HelloBean");
}
catch (Exception e)
{
System.out.println("error:" + e);
}
}
}
catch (Exception e)
{
System.out.println("error:" + e);
}
}
}
I have serialized my HelloBean as HelloBean.ser and included
as the second parameter for instantiate.
But it is telling class HelloBean not found in type
declaration.
if it is solved only i can go ahead with
servlets....beans
thanks in advance
regards
Mahesh
