Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

JSP and Applets

Hi,

I have been working on developing a web program for the last few months. I recently added one of the last methods to my program and discovered some bad news: the applet can't write files even on the server where it came from. I was advised that I could side-step the issue by building a server-side app to do this task. However, I don't know the first thing about servlets.

Essentially, what the servlet should do is when provided with a filename and a String, it should write the String into the file. I already have the methods for writing the files, I just need to set up the class so that I can actually write the file without getting any errors.

Any advice is greatly appreciated.


There are two methods in software design. One is to make the program so simple, there are obviously no errors. The other is to make it so complicated, there are no obvious errors.

Comments

  • CageCage Member Posts: 25
    If I explain you how to make JSP pages it would take so much time, so I provide few links you to check out. I hope these help you.

    http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.html

    http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/

    http://www.jsptut.com/

    http://java.sun.com/products/jsp/docs.html

    - Cage -


    : Hi,
    :
    : I have been working on developing a web program for the last few months. I recently added one of the last methods to my program and discovered some bad news: the applet can't write files even on the server where it came from. I was advised that I could side-step the issue by building a server-side app to do this task. However, I don't know the first thing about servlets.
    :
    : Essentially, what the servlet should do is when provided with a filename and a String, it should write the String into the file. I already have the methods for writing the files, I just need to set up the class so that I can actually write the file without getting any errors.
    :
    : Any advice is greatly appreciated.
    :
    :
    : There are two methods in software design. One is to make the program so simple, there are obviously no errors. The other is to make it so complicated, there are no obvious errors.
    :

Sign In or Register to comment.