Best practices for processing input HTML content at server side in java -


I would like to apply content management system with RDBMS in java / j2ee, and would like to know the best practice to handle input HTML Content

There are some doubts given below, I'm sure there are many things to be careful about.

  1. Do we need to avoid HTML tags and specials The first letter is saving the HTML content from the database
  2. We have large input HTML How to validate / delete invalid special symbols in content
  3. Best practices for displaying HTML content from the database back in the browser

  • Post-text "itemprop =" text ">

    HTML in HTML Use a tool to clean up, then to parse it using any XML parser.


  • Comments

    Popular posts from this blog

    asp.net - Javascript/DOM Why is does my form not support submit()? -

    sockets - Delphi: TTcpServer, connection reset when reading -

    javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -