Java Bean + jsp data

I m developing an application making use of JSP & JavaBean. I have just started programming in the JSP technology.

I m not able to use the data entered by user on more than two page after submission.

could any body help me for this plzzzzzzzzzz.

The problem I m facing is about the scope of Java bean.

Whatever data I m inserting on form is not available on more than one form after submission if I set scope as request.

If scope is session then if I modify some textbox value it is not taking updated value. It takes the value enter by user initially.

thanks in advanced

[622 byte] By [v1_pardeshia] at [2007-10-2 12:02:08]
# 1

I m not able to use the data entered by user on more than two page after submission.

To save that data you have to use usebean.

you may declare some vaariable which you want in next pages as bean property.

when user will enter them you have to use <jsp:setProperty ... /> tag.

At time of retrieve that info just use <jsp:getProperty ... /> tag.

The problem I m facing is about the scope of Java bean.

Whatever data I m inserting on form is not available on more than one form after submission if I set scope as request.

If scope is session then if I modify some textbox value it is not taking updated value. It takes the value enter by user initially.

If you have set its scope as "session'" you can get it on next many pages.

After every new data entered in textbox you have to set property every time.

padmajeet_dadaa at 2007-7-13 8:19:18 > top of Java-index,Desktop,Developing for the Desktop...