Thursday, June 02, 2005

COMO INCLUIR UN JSP DESDE UN SERVLET

Con el siguiente codigo

//Url del jsp cuyo codigo queremos embeber en nuestro blog
String url="";
RequestDispatcher rd = pageContext.getServletConfig().
getServletContext().getRequestDispatcher(url);
rd.include(request, response);

Saludos a nuestro colega el Ing. Aldo Picca Por su aporte

2 comments:

charly said...

Te pasaste mano gracias ahora ya puedo publicar un jsp sobre un servlet

charly said...
This comment has been removed by the author.