Click to See Complete Forum and Search --> : URL encoding:urgent


capuccino
September 20th, 2000, 07:22 AM
Hi all,
Can anyone provide a solution for this.
How do i encode the url's of the pages seen on the browser at the level of the web server.In other words,can i do it in such a way that the encoding is done for all the url's by intercepting all the requests in the web server using a servlet?Also give me the code for encoding the url.

ababu
September 20th, 2000, 01:34 PM
encode the url using the function
URLEncoder.encode("url") in the java.net package.just pass the url in the
function thats it