Struts2 Oracle m² m2 unit storage problems

Source: Internet
Author: User

When the M role is input on the page, because the value "m role" Oracle will understand that there is a format in the content, that is, Oracle's responsibility can only store the content, the format is not the responsibility of the database, therefore, if you operate the Oracle database directly, the M branch will be changed to the m3 storage database.

But we useProgramDuring the operation, M & sup3 is parsed as an HTML string by struts2html encoding and stored in the library.
However, when the S: Property tag is used for output, it will encode the content again,
That is, if M & sup3; Content & is encoded as & amp ;,Source codeIn M & sup3; is parsed as M & amp; sup3; Output

Here, we can impose a limit on the part of the final output page, that is, using the escape = "false" of S: property to make it unencoded, that is, the content of M & sup3; in the output data inventory on the page is displayed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.