473,388 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

viewing data in text box separated by blanks

52
hi,
in my jsp form i am entering the value for a field separated with blanks.
but, while viewing it in a text box, it is truncating the characters after it encounters the first blank space.
The same data i am able to view fully in a table, but i want to display it in atext box.
How can i do that?
Apr 26 '07 #1
4 1206
r035198x
13,262 8TB
hi,
in my jsp form i am entering the value for a field separated with blanks.
but, while viewing it in a text box, it is truncating the characters after it encounters the first blank space.
The same data i am able to view fully in a table, but i want to display it in atext box.
How can i do that?
Post the code you are using for displaying the data
Apr 26 '07 #2
mallz
52
Post the code you are using for displaying the data
hi, this is the code for display
<td><input type=text size=10 disabled value=<%=rs.getString(2)%> </td>
Apr 26 '07 #3
r035198x
13,262 8TB
hi, this is the code for display
And how are you displaying it when you are able to view it fully?

Note: It is good practice to use quotes as in

Expand|Select|Wrap|Line Numbers
  1.  value = "<%=value%>"
Apr 26 '07 #4
mallz
52
And how are you displaying it when you are able to view it fully?

Note: It is good practice to use quotes as in

Expand|Select|Wrap|Line Numbers
  1.  value = "<%=value%>"
Am able to view the entire text, thanks a lot
Apr 26 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Gary Richardson | last post by:
I've been working on a Python version of Andreas Weber's ASCII schematic drawing program ( http://www.tech-chat.de) ; not that I thought I could do it better but just as a programming exercise....
6
by: Ruben | last post by:
Hello. I am trying to read a small text file using the readline statement. I can only read the first 2 records from the file. It stops at the blank lines or at lines with only spaces. I have a...
5
by: James Foreman | last post by:
I've got a whole load of data that I've been logging to record different search terms used on a website. This all resides in a varchar(50) column. Contents will be something like: toaster...
8
by: harry | last post by:
Hi Folks: I'm trying to do something that looks simple, but I can't make it work right. It's Access 2000 on a Win2000 computer. I create a database with 5 columbs. The data I need to import...
7
by: toby989 | last post by:
Hi All Sorry for reposting...the entries of the post from 11/23/2005 by Eric Lindsay have been removed from the server already and I am seeing only the header. So, I have the problem of...
3
by: FUGATO | last post by:
I need to help to wrap up text. I have a line all the text and I need to wrap the text with 40 characters each line but without using function. Somebody help me about that and give me an idea
2
by: JohnR | last post by:
When creating an msAccess db within the Access UI itself the fields that are text are NOT padded with blanks. For example, if I have a 10 char field and put in "HI" and then when I come back to...
5
by: mallz | last post by:
hi, i need to get the value of the variable which i have put into a session variable in another jsp form. Im using this to get the value: (String)session.getAttribute("thename") But, im not...
10
by: gaetanoortisi | last post by:
Hello, can anyone point me to some piece of code that do text justification of fixed fonts like those that nroff do on manpages? Thanks, Gaetano
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.