Re: How can I use String between JSP and JavaBean

2000-03-29 Thread Richard Yee
MAIL PROTECTED] Subject: Re: How can I use String between JSP and JavaBean O.K. It works. But if I use It doesn't work again. The error said: javax.servlet.ServletException: Can't find method for User But if I use <% h.setUser("new user") %>, it works. Is it a bug ? o

Re: How can I use String between JSP and JavaBean

2000-03-29 Thread yjchen
: yjchen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 29, 2000 7:57 AM > To: [EMAIL PROTECTED] > Subject: How can I use String between JSP and JavaBean > > Hello, > > I try to use JavaBean to set and get a String type, but it always goes > wrong. > The code is

How can I use String between JSP and JavaBean

2000-03-29 Thread yjchen
Hello, I try to use JavaBean to set and get a String type, but it always goes wrong. The code is below: JavaBean: package test; public class Count8 { private String user ; public Count8() { } public String getUser() { return user; } public void setUser(String user) {