views:

26

answers:

1

I am using EJB-3 & IceFaces in my application on JBoss. On refreshing the page, the data gets lost & all fields becomes blank.

In another similar application where struts is used, no such problem occurs. Is this problem with IceFaces(View-handler/Render-response etc).

A: 

This is typical when the HTTP request concerns a GET request and the bean is request scoped. The struts application was apparently using a session scoped bean.

BalusC
In Struts+EJB application, in request scoped bean also, values remains as it was before refreshing page.In application built with only IceFaces, there is no problem.But I am using here IceFaces+EJB3, not getting any clue about it.
Nayan Wadekar