Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
lastone
Posts: 87
Registered: ‎02-20-2011
My Device: Not specified

BrowserField2 Cache

Hi, I tried to implement BrowserField2 Web Cache as an example: http://supportforums.blackberry.com/t5/Java-Development/How-to-Implement-a-Web-Cache-for-Your-Browse...

When I try the url address of www.google.com, page to appear is no problem. When trying to access the page made self, an error occurs:

 

Error displaying content for :

http:// xxxx/myurlpage.html

 

Error message, The returned page has no content type and therefore cannot be processed.

 

This is my sample url page :

<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Test
  </body>
</html>

 Please help...

------------------------------------------------------------------------------------------
1. Feel free to press the like button on the right side to thank the user that helped you.
2. Please mark posts as solved if you found a solution.
Please use plain text.
Developer
maadani
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: BrowserField2 Cache

Hi,

 

Do you manage to display this page in the browserField without the cache?

 

I'm asking since it looks like a server issue (content-type is an HTTP header which comes from the server).

 

E.

Please use plain text.