Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP URL encoding  RSS feed

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:-
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!