0

I have a Java server and I have a String of a SQL query.
I want to get a string of the query in HTML (with colors like prettifier).

In the client side I used prettyPrintOne in angular, but I need to get it from the server side now.

10
  • Your question is not very clear but if you have a SQL string available then use any api like google-code-prettify.googlecode.com/svn/trunk/README.html or jqueryscript.net/other/… Commented Jun 10, 2015 at 14:48
  • thanks for the quick answer.. but i need to implement this with java Commented Jun 10, 2015 at 14:56
  • Where do you print it in java side? In console or Java Swing pane?? Commented Jun 10, 2015 at 15:04
  • i need to get the html as a string in java Commented Jun 10, 2015 at 15:07
  • i am adding it to a mail body (javamail) Commented Jun 10, 2015 at 15:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.