Announcement Announcement Module
Collapse
No announcement yet.
URL in Value - Problem with &-Character Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • URL in Value - Problem with &-Character

    Hey,

    i am trying to pass a java.net.URL via list with value items to a bean in my applicationContext.

    code:
    Code:
    <list>
         <value type="java.net.URL">
              http://www.muh.net?&timerange_3=next 
         </value>
    </list>
    the problem is the &-character because &timerange_3 should be an entity as the log file says and therefore has to end with a ';'

    Do you know how i can pass by the &-character only as a string?

  • #2
    Use '&amp;' instead of '&'.
    Code:
    <list>
         <value type="java.net.URL">
              http://www.muh.net?&amp;timerange_3=next 
         </value>
    </list>

    Comment


    • #3
      thanks, got it working.

      Comment

      Working...
      X