wood burning stoves 2.0
The moose likes Java in General and the fly likes Package java.net.IDN; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Package java.net.IDN;" Watch "Package java.net.IDN;" New topic

Package java.net.IDN;

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 744

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

Joined: Aug 16, 2005
Posts: 14602

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?

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 744
Oops! there is spelling mistake

Thanks a lot for pointing
I agree. Here's the link: http://aspose.com/file-tools
subject: Package java.net.IDN;