[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
How do I veiw PageInfo content for error codes?  XML
Forum Index -> Ehcache
Author Message
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
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team