That makes sense.
Could I create a servlet to write the whole program?
I am looking to create a program that will allow people to edit files on the server via a webpage. When connecting the servlet would load a file on the server to a text field, the user could edit it then save. On saving the servlet would save the changes to the file on the server.
> Many thanks, please accept this Duke star as a token
> of my appreciation :)
The gesture's appreciated :-)
> I have no servlet skills, but I am putting a "Servlet
> and JSP" book on to my O'Reilly bookshelf to see what
> I could do...
This isn't too bad.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
If you've a bit of Java you shouldn't find it too hard to get a basic JSP up and running. Frankly they're quite a bit easier to write than applets, although the configuration hoops can be painful to clamber through.
I see that you do not need to any applet at all.
you can make an clean html form contains the fields you need and has an action which points to your Servlet, at submitting your form you can read any request parameters in your servet, then edit any file on server-side.
that's all.
Thanks.
Ahmad Elsafty