This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » Java in General
Bookmark "Package java.net.IDN;" Watch "Package java.net.IDN;" New topic
Author

Package java.net.IDN;

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 833
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

Joined: Aug 16, 2005
Posts: 14950
    
  26

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: 833
Oops! there is spelling mistake

Thanks a lot for pointing
 
Have you checked out Aspose?
 
subject: Package java.net.IDN;
 
It's not a secret anymore!