A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
XML and Related Technologies
XML in the URL
Joined: Sep 20, 2010
Mar 25, 2011 20:04:50
i want to pass XML
to a class from URL:
xmlText is the XML String, I'm having the logs in the class am passing it to. I cant get the xml string but when i send the normal string, it works fine like
How do i pass XML string in the url. Please Help.
Author and ninkuma
Joined: Jan 10, 2002
Mar 25, 2011 20:10:29
All URL values need to be encoded. Once encoded, XML is just like any other encoded text.
Bear in mind there is a length limitation to URLs imposed by the browsers.
Asking smart questions
Books by Bear
Joined: Oct 14, 2005
Mar 26, 2011 11:57:53
And when Bear says "encoded", that means "URL encoded". There's a
class which will do that for you.
I agree. Here's the link:
subject: XML in the URL
Easy mock class intantiation
RegExp performance for returning contextual search results
Jetty: wt are the reasons for the doPost method to be called twice?
Putting string in soap message
Exception Connection reset
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015