The easiest way is to add a String property to SessionBean1 and data bind the two textfields to that property.
In SessionBean1:private String myProperty;
public String getMyProperty() {
return this.myProperty;
}
public void setMyProperty(String myProperty) {
this.myProperty = myProperty;
}
On JSP page 1Drop a textfield onto the page. Right-click the textfield and select Property Bindings.
In the Select bindable properties panel, make sure 'text' is selected.
In the Select binding target panel, find SessionBean1 and select myProperty. Click Apply.
Repeat this procedure on JSP page 2.
mfa wrote:
sir i use netbean 6.1 with vwp i create two jsp page both have one textfield
sir how i pass page1 textfield1 data to page2 textfield1
please give me idea how i pass textfiled data to next page textfield