This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to retrieve the timstamp of certain set of records and display in a jsp. here it diplays the timestamp like this 2007-06-16 19:16:57.798.
from this jsp I have to select one record based on timestamp and send it as a input to the next page to retrive some more fields. the problem is, while sending this time stamp as a url parameter it passes the time as 2007-06-16%2019:16:57.798, the space between the date and time is replaced with %20, I want to get rid off this issue, can you please tel me how to send the timestamp to the next page with this %20.
Originally posted by N D Fisher: I was presuming the characters were still there when he retrieved the string
Even if that is the case, the correct approach is to find out why the automatic decode isn't working as expected rather than putting work-around code on the page.
Joined: Apr 27, 2005
Thanks N D Fisher & Bear Bibeault,
Actually I got the timestamp with %20 from the URL, I have to use this timestamp to retrieve the record from DB. automatic decode is not working, actually I have to compare this timestamp with the timestamps in DB, if i do it as it comes from URL it says no records found. if I do some work around its working... please let me know the proper way of doing...