Hi,
I just wanted to help you. I have been on this list for a while and I never
answered a question by just saying "search the archive". I know that
searching the whole archive can be quite time consuming when you don't know
precisely where or what to search. Also, when a quick answer is possible, I
don't mind ginving it again.
In that case, however, the answer was quite long and spread over several
messages. I just wanted to help you narrowing your search to the last month
archive (instead of the whole thing) to get you faster to some answers.
I really apologize for not having made myself clear enough.
I am glad to know that you have solved you problem anyway.
Have a good day
Pierre-Yves
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
sharad mohan
Envoy� : jeudi 30 ao�t 2001 11:10
� : [EMAIL PROTECTED]
Objet : Re: browser is not getting pdf contents from servlet
Dear Pierres-Yves
If anything has been discussed in detail then it
doesn't mean that anybody cann't post his problem. If
you don't want to reply then its only upto you. Okay
Mr. Pierres-Yves .......
By the way i have solved my problem.
Sharad
--- Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This has been dicussed in depth last month. You
> should find several answers
> to your questions in the archives
>
> Pierres-Yves
>
> -----Message d'origine-----
> De : A mailing list for discussion about Sun
> Microsystem's Java Servlet
> API Technology.
> [mailto:[EMAIL PROTECTED]]De la part de
> sharad mohan
> Envoy� : jeudi 30 ao�t 2001 09:08
> � : [EMAIL PROTECTED]
> Objet : browser is not getting pdf contents from
> servlet
>
>
> Hi everybody
>
> I am sending PDF file�s contents from servlet to a
> browser. But at client side it does nothing and this
> browser become hang.
>
> Code is �.
>
> response.setContentType("application/pdf");
> ServletOutputStream sos =
> response.getOutputStream();
> FileInputStream fis = new
> FileInputStream("xyz.pdf");
>
> int c = 0;
> c = fis.read();
> while(c!=-1)
> {
> sos.write(c);
> c = fis.read();
> }
> sos.close();
> fis.close();
>
> Please help me.
>
> Thanx
> Sharad
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant
> messaging with Yahoo! Messenger
> http://im.yahoo.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
>
>
___________________________________________________________________________
> 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
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.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
___________________________________________________________________________
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