Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Package java.net.IDN;

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

The following code working fine:



but when am trying to:


then its throwing following error:

I did import java.net.IDN;

Thanks in anticipation

Best regards
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15274
38
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that you imported java.net.IDN correctly in FileUpload.java?

If yes, then can you show us the complete content of FileUpload.java?
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops! there is spelling mistake

Thanks a lot for pointing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic