Hello all
Please help me with this:
file src/fe/MyBean1.java:
package fe;
public class MyBean1 {
private String msg = MyBean1: Initial message;
public String getMsg() { return msg ; }
public void setMsg(String m) { msg = m; }
}
file test.jsp:
%@ page language=java %
html
jsp:useBean
Andrew Guts wrote:
file src/fe/MyBean1.java:
package fe;
public class MyBean1 {
private String msg = MyBean1: Initial message;
public String getMsg() { return msg ; }
public void setMsg(String m) { msg = m; }
}
file test.jsp:
%@ page language=java %
html
jsp:useBean id=dBean
Boris Folgmann wrote:
But It does not work :-(
I think it should work. If you changed your bean while tomcat was already
running, you have to restart tomcat. That's why you should set your webapp
to reloadable on your development machine. If you've done this, a tomcat
restart is no longer