I am setting the exchange body with set of html lines. But when i execute the
program, it is showing only static html but not the javascript and css..
Here is my sample code

String htmlString= "<html><head><link rel=\"stylesheet\" type=\"text/css\"
href=\"js/timeline.css\"></head><body> Hello world </body></html>";
exchange.getOut().setHeader(Exchange.CONTENT_TYPE, "text/html ;
charset=ISO-8859-1");
exchange.getOut().setBody(htmlString);

I am not getting the page with css enabled. If i run the same html code in
browser  directly, i am getting html page with css enabled..



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-exchange-body-with-html-css-and-javascript-tp5770632.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to