Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6924127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:37:24+00:00 2026-05-27T10:37:24+00:00

In my signed applet I have an Image object, Now I want to save

  • 0

In my signed applet I have an Image object, Now I want to save this Image at getCodebase() by creating a new file. I use:

File file2=new File(getCodeBase()+"newFile.gif");
file2.createNewFile();
ImageIO.write(myImage, "png", file2);

To create new file then ImageIO to write file at this destination but it gives the following error.

http://192.168.1.119:96/res/applet/newFile.gif
pgraph.sendImageToServer... exceptionThe filename, directory name, or volume label syntax is incorrect
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)

How to save image on the server from a signed applet?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:37:25+00:00Added an answer on May 27, 2026 at 10:37 am
    1. If an applet establishes a File object, that File will point to somewhere on the file-system of the end user’s PC. It can never point back to the server.
    2. For an applet to save anything on a server, it needs to return the bytes of the resource to a script on the server that does the part of saving the image.
    3. If an applet is ‘phoning home’ to its own server to save an image, it does not need to be digitally signed.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a signed Java applet. And it works fine. But now I have
I have a signed applet and I want to write out dll files which
I have developed an signed applet that is used to upload a file in
Basically, I have a self-signed (for now) Java applet that prints stuff. Even though
UPDATE: THIS IS A SIGNED APPLET So, I have an applet, which during initialization,
Hi I have created a Self Signed Applet , but not able to access
I have signed my applet and it is in jar. I have added the
I have an easy self-signed an applet (done with keytool and the jarsigner): public
I've seen this done with a signed Java Applet, but is it possible with
I signed up for the iPhone Developer Program (now awaiting approval) using a new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.