coming straight away to the problem.. i have a jsp code. when i select a string(an option) in the pop-up window(child page) and press "ok" then the selected string is shown at the desired place on the parent page, but the problem is that if the string has multiple words with spaces in between(on the child page or pop-up window) then these spaces are being replaced by commas when it comes to parent page.. i am unable to identify what is the exact problem.
if there is option on the pop-up window(child page)- "maximum marks scored"
then on selecting this option it appears on the parent page as- "maximum,marks,scored"
these commas are not desired..