Hi, I have a ServletA that forwards requests to ServletB. ServletA reads a file as a stream and that stream should be passed to ServletB as inputStream. How can this simpliest be achieved ? I know that ServletA can open an urlConnection and write to that ? Is that the only solution ? thanks in advance
posted 14 years ago
I think you could try to put the stream into session in servletA, get it from session from ServletB and use it as you wish. Maybe I'm missing something, but this should do the trick.
Sun Certified Programmer for the Java 2 Platform 1.4<p>If I can create, I will make mistakes. If I can learn with them, it must be some kind of art.