Forums Register Login

JSF session

+Pie Number of slices to send: Send
I am facing a problem, please see the below details.

i have a search form. i am giving a search criteria and getting the search result. Now i am navigating to a different url in the same browser. again i am returning to the search form by clicking the url in the browser drop down. now i am getting the same search criteria entered previously.
+Pie Number of slices to send: Send
if my compilation of your question is correct you are looking for something that should not use the same session values

for this as and when you are getting out of that page in the sense when navigating from that page to other try to inactivate the session which is something like clearing the session on log out

if you want your session to remain but the values that are used in the page to be cleared then go in this way

get the context object and try getting the application properties list and remove the appropriate value that you want to remove
+Pie Number of slices to send: Send
simply the problem can even be cleared by setting your mbean (if you are setting the values to mbean) to request scope in faces-config.xml
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1469 times.
Similar Threads
Struts Help urgent
Issue with DataTable - how to control null data set?
Runtime intermediate storage - Design Problem
Hold Form Data
using collections in session object
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:44:34.