My piece of code:
--------------//----------------------
req.getRequestDispatcher("myfile").include(req,res);
out.println("</P>***TAIL***");
----------------//-----------------
'myfile.java':
---------------//----------------
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class myfile extends HttpServlet {
protected void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException,
IOException {
PrintWriter out = res.getWriter();
out.println("</P>HELLO WORLD</P>");
out.flush();
out.close();
}
}
-----------------//---------------
The page I get:
HELLO WORLD
[end]
Any suggestion? Why I do not get the rest of my code?
I tried removing out.close() and out.flush()...
_______________________________________________________________________
�Todav�a no tienes contestador autom�tico en tu correo?
http://www.hispavista.com/altascorreo/
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>