• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

Preview/HTTP

 
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,
I created a connection HTTP with my Server:
conn = ( HttpConnection )Connector.open( S_URL );
conn.setRequestMethod( HttpConnection.GET);
servletStream = conn.openInputStream();
I stocked servletStream in vector V
I exploit the servletStream
....
after I close the connection
conn.close();

Is it possible to use my vector(servletStream)) without to open a new connection, my goal is to manage the previous in my navigation without I have to open a new connection.
Thank you for you reply
OULD NADIF
 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Mon problem is resolved. I could've stocked the XML pages in a vecteor of string. Then I can recupe the data when I go the previous.
OULD
 
The first person to drink cow's milk. That started off as a dare from this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic