• Post Reply Bookmark Topic Watch Topic
  • New Topic

Open a JSP PAGE  RSS feed

 
Jesus Mojica
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys i am here.

I was trying to send a request with our own frame work . the fact is that i can see on the console the System.out from the page but the page itself
cant be load. the code where i invoque a servlet is on a JAVA CLASS
URL miDescripcion;
servletSalida = "http://localhost:8080/Servlet";
try {
miDescripcion =new URL(servletSalida+"?cmd_salir=0");
URLConnection conn=miDescripcion.openConnection();
conn.setDoInput(true);
miDescripcion.openStream();
}

Then in my xml mapping file with cmd_salir i am telling the servlet
to open a page (exit.jsp).
The System.out.println from the page are displayed on the console but
the page stays the same ( I mean not exit.jsp).
I tried RequestDispatcher and then Forward but meaby it could be another way to load the page.
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see where you ever called print(" ");// stubb,....
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What *exactly* are you expecting to happen?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!