为了从服务器端和服务器端为我的JSF应用程序确定更好的状态保存方法。客户端保存,我希望在状态保存到客户端时看到保存的状态数据。
我需要了解传回多少数据&在请求和之间如果我减少它以保持客户端保存的优势(如所有时间响应和视图过期后没有死应用程序)! 我可以在Firefox中的firebug插件中看到这个保存状态吗?怎么样?
答案 0 :(得分:1)
是的,firefox的firebug插件可以帮助解决这个问题。只需查看request
面板下XHR
部分中每个Net
转移的视图状态。
看起来像这样:
<partial-response>
<changes>
<update id="javax.faces.ViewState">
<AAAANU8a2wcx3lzx5coS7JkPSzZkU1Kskt6aLBjGKWGJMnIDx+8A4ndgmumSsnC0SjYa8I7I+2Bkl9lCUgemqS4JsnRJmJPp0VVNW0a8bzHwupWR8WBI7qs4uOwPwirOkipUHxYFjVEdFv1Ga80lNd004pf/sffJ6Zder/hpJWnDUIRx00ZdsaDQqQIIuCCx9CJbkmfnBEOqAWrWZCBZStkUf0x1DcjmljDoJ+pMqzPS+AcTh//O2B1XdJKOn/qkrmpUZ2v30jXD7ukGThxbGgQ+rtSX3A81RjYKDFZlrs6owSe5BYfkq99hTtpcBWLdMHKqFRTUdEljHBEjgkFtPMyOTpycnJiuzIybpVPjp2acfrdxTs7nC0eswiBgocHgpcZiuFkYi93NPIqFzc5cbEo2h8HrDrOMl138rRuD1zrb8kSddcY39zavHhZuC8EsXg+4yne4yoeaZj/omrPm6r6rufsu3n1XQPeM7BY0Tac1CXhOHFkbreswIXafQXWrhSOYOaWMqKpMBeVbffqHv/3Yz3+QJImzpGtZkOsoH5w+u2pqXWGBHVQURheofsOrv/+Fn37k18pJlC9WBzrZ2mh3qr40R/WPPfno3us++8onbNY7tApUXwijepAsIEdGVYUJEnB2KO0jXH2MdIM0YhWRg3kCHvUC5DsMKoOIpOLooqAoVK6Is5LioLUzgNi6mxDfC/AV2+PKSV1aBuQHALijwYMziwIb1uk0Zc6idvJF7fRTMC4Ax6hze0szyeJVhp7SJ4en7p2tjDnt7giG/HRl/P7Z6sTo8Exl4tTsveNnVlsl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