DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2004
    Posts
    3

    Invalid File Name!

    Guys, need some help here. I moved my domains from a reseller(Win2000) to a dedicated box(Win2003) and one of the domains is having trouble displaying java applets. www.gordonmcgowan.co.uk (HTML Site)

    I get an error message saying Invalid File Name! where the applet should be running.

    Not changed the site in any way.

    Downloaded JRE and now I can view the applet server side, but doing a client browse I still get the error?

    Any ideas?

  2. #2
    Join Date
    May 2004
    Posts
    5
    I tried the website and I get the error. Have you tried to create a standard jar instead of zip? Maybe the new webserver sends a different mime type.

  3. #3
    Join Date
    May 2004
    Posts
    3
    Sounds great , if only I knew want that meant. Sorry, new to Java, can you give me some pointers and I will happily try your suggestion out?

    Cheers,
    Graham.

  4. #4
    Join Date
    May 2004
    Posts
    5
    The applet is implement ed in a Java class file that may be packaged in an archive jar file.

    The archive is specified inside the applet tag where you declare the applet as the 'archive' attribute. I checked the source code of the HTML page and the archive="file.zip" instead
    of the common file.jar. The new web server may not send the correct 'application/x-java-archive' type for this file to the browser.

  5. #5
    Join Date
    May 2004
    Posts
    3
    Yep, think I understand now. Only thing is, I can't seem to find the corresponding jar file for this class. I've searched the internet and nothing comes up in a search.

    Is there a way to make the zip work? As I said, it works server side when viewing the page from the server!?!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links