473,320 Members | 1,978 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,320 software developers and data experts.

decoded value

i m decoding a string using jsp (ex:encode value="hello+world")...when i m decoding it;s coming as "hello world"...it's working fine in jsp when i m putting the value in html text field only the first word "hello" was printing the another one was not printing....when i m using textarea it's printing correctly....what should i want to do to print entire words in text field...can anyone give me the solution for my pbm...
Mar 1 '07 #1
3 1597
dorinbogdan
839 Expert 512MB
what is the code you are using to assign the value to the text field?
Mar 1 '07 #2
i m using the following code for putting the value in text field

<input type=text value=<%=URLDecoder.decode("str","RTF-8")%>>
Mar 2 '07 #3
dorinbogdan
839 Expert 512MB
I'm not a JSP expert, but I think that str should be encoded as "Hello%20World" before decoding.
See also this link.
Mar 2 '07 #4

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

Similar topics

10
by: pekka niiranen | last post by:
Hi there, I have two files "my.utf8" and "my.utf16" which both contain BOM and two "a" characters. Contents of "my.utf8" in HEX: EFBBBF6161 Contents of "my.utf16" in HEX: FEFF6161
1
by: G Kannan | last post by:
Hey all! I have written a perl script to retrieve information from a HTML Form and insert the data into an Oracle database table. I am gettting the the following error message: "Use of...
3
by: otto | last post by:
i need to read a variable in a javascript and translate it to a form in html the javascript variable is: <SCRIPT LANGUAGE='JavaScript'>RF2N('Total');</script> and i need to put that...
16
by: cwizard | last post by:
I'm calling on a function from within this form, and there are values set but every time it gets called I get slammed with a run time error... document.frmKitAmount.txtTotalKitValue is null or not...
1
by: T Conti | last post by:
Hello: We ran into an issue with the decoding 8 bit characters. We have an asp page that makes a call to an ashx page. When the HTTPHandler accesses the query string we find that the 8 bit...
4
by: Ben Amada | last post by:
Hello group. I'm passing URL encoded text (actually HTML) via querystring to a webform. Part of the encoded text looks like: ... %3Cfont%20color%3D%22yellow%22%20size%3D%227%22%3E .. ...
9
by: Aaron Gray | last post by:
Hi, Well I have gone and done it, got to the bottom of it. Nothing spectacular but its good to see how it is done. Now to distill the brew ... I am going to use sub threads of the thread...
0
by: mustakbal | last post by:
I was wondering if in VB6, the contents of a decoded file could be stored in memory instead of in a temporary file. I found out that this could be done in VB.Net right "after using DecodeToByte to...
1
by: qwer | last post by:
hi im actually doing on a SMS application using Visual Basic.Net whereby the objective is to allow the user to send a SMS to the visual basic programme and i should decode out the hp no, car plate,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.