|
|
Why does everything after <SERVLET>...</SERVLET> in my HTML file get lost when using JServ SSI? |
| In the web browser, the output of the servlet shows up, but nothing more after that. I find that the log of the JServ servlet engine complains about a java.net.SocketException. To avoid this, you should be using out.flush() instead of out.close() in your servlet code when you are finished with your ServletOutputStream (I'm not sure what happens if you use a PrintWriter instead of a ServletOutputStream). (Someone more knowledgeable than me might want to flesh this in and explain why this disagrees with the Sun documentation.)
harryATswiDOTcom | |
| Subcategories:
Answers in this category:
| |
| Subcategories:
Answers in this category: | |
| [Add a New Answer in "Why does everything after <SERVLET>...</SERVLET> in my HTML file get lost when using JServ SSI?"] |
| Next: |
|
| ||||||||||