dcsimg
How to make a servlet recognise a space in data generated?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Venix_H
Posted On:   Monday, August 5, 2002 01:31 AM

I have created a report based on the user's search. Data found are saved in csv format.
However, when there is a space found in between a data (example: James Smith). The data stored in the excel format are in a mess.
How can i make the system understand the spacing as a data?

Re: How to make a servlet recognise a space in data generated?

Posted By:   Jorgen_Nordqvist  
Posted On:   Tuesday, August 6, 2002 04:09 PM

If you are asking how a space can maintained in the HTML the servlet produces (presumably from the CSV file), then you need to use the non-breaking space in the HTML code. The HTML symbol is  .

Jorgen

Re: How to make a servlet recognise a space in data generated?

Posted By:   guru_prasanth  
Posted On:   Monday, August 5, 2002 01:48 AM

u can replace a pattern for a space and in the client side and you can replace the pattern by space in server before storing in the particular fromat.for example if user search is data search in client side give it as data*/search as */would unlikely be used by clients and in server replace */ by a space.
About | Sitemap | Contact