• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

& char in forward url

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm putting a redirect to an external URL. The URL also requires some query parameters. when I put this url in the path attribute of the <forward> tag, the '&' character in url creates problem.
Is there a way to avoid the problem? May be some sort of escape char would be required.
Thanks and regards,
Kinjal Sonpal
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What problem is it creating?
 
Kinjal Sonpal
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The DTD fails to understand the url. We normally validate all the xml files before they are packed. In this case the parser does not validate the string. Since right now I'm not in front of my office machine, I'll try to also post the error message.
Thanks and regards,
Kinjal Sonpal
 
Marc Peabody
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried using
& amp ; (omit spaces)
as an Entity Reference?
[ May 03, 2004: Message edited by: Marc Peabody ]
[ May 03, 2004: Message edited by: Marc Peabody ]
 
Kinjal Sonpal
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, silly me. It never struck me. Thanks a lot for reminding this. Yes, it solved the problem.
Thanks and regards,
Kinjal Sonpal
 
reply
    Bookmark Topic Watch Topic
  • New Topic