A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
how to transfer Streams from one servlet to another servlet
Joined: Aug 30, 2008
Aug 30, 2008 04:43:00
------------------Please Help me
Is there any other way to transfer the file Streams from one
to another servlet .
In my code I have 2
In my firstServlet Iam writing the FileInputstream into response object and forwarding it.
In my SecondServlet Iam writing the Inputstream into
but Iam unable to forward the request from first servlet using RequestDispatcher's forward(req,res) method (getting exception as response is already commited before forwarding)
Author and ninkuma
Joined: Jan 10, 2002
Aug 30, 2008 09:38:00
Please do not post the same question more than once.
Asking smart questions
Books by Bear
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to transfer Streams from one servlet to another servlet
problem in using request.getHeader()
Forwarding from doPost to doGet
How to Transfer File Streams from One Servlet to another Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015