Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP URL encoding

 
Deepan Ignatius
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic