Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

spaces in text box problem  RSS feed

 
subbarao dachepalli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am to jsp&servlets.
In one of my web page there is a text box name' product name'.
So users will enter product names which might contain spaces.

My problem is when product name is entered with spaces i'm not getting text after space in the next jsp page.I am redaing the value of that as:
request.getParameter("productName");

how to get the full text after the spaces .

Thanks in advance
[ August 06, 2005: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
143
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your HTML properly formed? As in, are all the attributes quoted?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!