This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP URL encoding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP URL encoding" Watch "JSP URL encoding" New topic
Author

JSP URL encoding

Deepan Ignatius
Ranch Hand

Joined: Mar 29, 2010
Posts: 41
Hi,

I have an issue with url encoding in jsp where the objective is to list the files present in a particular directory of a Linux machine with the help of jsp file. I am using the below code to perform this part



Using the above code I am able to download the files whose name contains alphanumeric characters (a-z,A-Z,0-9) and the special characters(".","+", "-", "*", "_"). But when the file name has scandic characters like (äÄöÖåÅ) I am unable to download.

Is there a way to resolve this up? ie to download files that contain both special characters and scandic characters.

example for a filename:-
äbc+xyz.xls
 
 
subject: JSP URL encoding
 
It's not a secret anymore!