Andi Setiyadi wrote:
>
> The problem is, when users click a link to open a documents, it is not
> displaying the contents, instead it will launch a window and ask the users
> to save it (as if users try to download it).
>

 I'm assuming the code you posted was edited down from
the real code, so the content type thing might just be
a typos, but:

 1) The content types should probably have a slash instead
    of a peried, "text/html" instead of "text.html"

 2) Is the document really just a single line long?

 3) Probably not the problem here, but IE sometimes ignores
    content type, nothing you can do about it (It's a
    Microsoft 'feature')

 4) If you say "yes, save it" to the dialog, is the saved
    content correct?

--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com

___________________________________________________________________________
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

Reply via email to