File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Codebase and running from a server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Codebase and running from a server" Watch "Codebase and running from a server" New topic

Codebase and running from a server

Jay Orsaw
Ranch Hand

Joined: Jun 14, 2011
Posts: 356

So I had an issue awhile back with an imageicon location and figured it had to do with the codebase, but ended up not. I was watching a video for Netbeans IDE(which is what I use) saying that for a web server I want to use the "User Defined" Codebase and enter the url of the server. I'm assuming that is what I will want to do in the end once the code is up on the server?

I tried before to get it on my server, but I dont' think my server is set up to accept the files(I know that some packages require extra for PHP, ASP, etc) so I'm not sure if there is something that I have to pay, or do on my end. I read up something that said I have to update the MIME for it...? This isn't too important for myself, but when I send it to the person who I made it for I want to make sure it will work on their server and such. According to Oracle I should use the codebase, but I haven't run into an issue yet. Doing the Web Preview launch works fine(same as it did in the video on their server) and such.

Let me know if Codebase is what I MUST have, or it's not something that's necessarily needed always..


I agree. Here's the link:
subject: Codebase and running from a server
It's not a secret anymore!