[opencms-dev] access rendered content which is not yet published

Sam Razialruh Sam.Razialruh at abaxx.de
Thu Jan 22 14:48:01 CET 2004


hello,

how can i access content within java-code, which is not yet published.
using 
   URL url = new URL("/example/example.html");
   InputStream stream = url.openStream();
   .....
   .....
   stream.close();
gives me only the published content of the url.
what i want is somehow receive the rendered content, which is not yet
published.

i also tried, with the same effect:
  URL url = new
URL(http://localhost:8280/opencms/opencms/system/workplace/action/explor
erShowResource.html?url=/example/example.html");
.....

can someone please help me out?



More information about the opencms-dev mailing list