Announcement Announcement Module
No announcement yet.
String &lt;p&gt; interpreted as <p> instead of plain text Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • String &lt;p&gt; interpreted as <p> instead of plain text


    I already used the search function, but didn't get any results, I'm sorry.

    I use Spring Web MVC (created through Spring Roo).

    I would like to write something like <p> as plaintext in my XHTML Document. Because I don't want to get a new paragraph but the plain string "<p>" I used the following form:
    This should result in the string "<p>" and not the tag <p>.

    The problem is, that at the end there isn't the text <p> printed on the site (as expected) but there is an opened <p>-Tag.

    What can I do to tell the system, that it should not interpret my <p> as a <p>-tag but as the text "<p>"?

    And maybe the second question: What system interprets this? Is that Tomcat or Spring or Tiles?

    Thank you very much.