I am very aware of my questions, its the fact about servlet and security
issues and portability issues between platforms incase I wanted to
distribute my programs.
I if you want to ban me. please go ahead.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Nic
Ferrier
Sent: Tuesday, January 16, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Saving
>>> Moha S <[EMAIL PROTECTED]> 16-Jan-01 4:57:26 PM >>>
I'm not going to yell at you (despite the fact that you obviously
havn't thought much about your question) because my answer might help
others.
>I have implemented a feedback form for my web site.
>instead of the content sent to me using sendmail.
>how can i save it to the server as txt of html.
The best way is to simply collect the data in some sort of objet and
serialize the object to the filestore (of course you need permissions
to the filestore somewhere).
For a good description of this see Jon Udell's excellent book:
Practical Internet Groupware published by O'Reilly.
>I also want to implemented some sort of admin area
>where I can check the feedbacks.
That's easy with serialized objects. You can just unserialize them
back to their object state and output the content as HTML.
You could also have a thread read in the objects at intervals and
then mail them to you.
>What are the security issues?.
That's difficult to say when you don't describe the hosting
environment.
Is this on an intranet webserver, an Internet server behind a
firewall, what?
In general there are lots of problems with anything sensitive. If you
class this data as sensitive you'll want to use HTTPS to access the
data. That's easy enough to do with most servlet engines.
>what permission do I need to set on apache server,
>on which file?
This is the bit where you get yelled at.
Yell Yell Yell.
Nic Ferrier
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html