borf123
neo
Joined: 05/23/2014 05:32:58
Messages: 1
Offline
|
I am using SimplePageCachingFilter code. I am also using Jersey Rest Service. My web service makes an SQL call to a database. If there is an error the return XML is populated with the error code and message for the user to see.
I do not want to cache this page with the error message, only good results should be cached.
Where in the pageinfo object can I find the contents of the XML so I can check the SQL return code?
Is there a better way to handle this?
Thanks
|