//DuplicatedSessionJavaBean package Mybean; public class DuplicatedSessionJavaBean{ private String name; private String pwd; private String email; public void setName(String name){ this.name = name; } public String getName(){ return name; } public void setPwd(String pwd){ this.pwd = pwd; } public String getPwd(){ return pwd; } public void setEmail(String email){ this.email = email; } public String getEmail(){ return email; } } //DuplicatedSessionVariables.jsp <%-- The setProperty tag is only executed when a JavaBean is created --%> When a JavaBean already exists... The username is :

The password is :

The email is :

Click


to see another page that has the use the same JavaBean with same name and scope. //DuplicatedBean.jsp When a JavaBean already exists...

Java Bean is already exist by this name and scope

The userName is :

The password is :

The email is :