How can we move from one JSP page to another(mean using what tecnique?) 

Showing Answers 1 - 2 of 2 Answers

sri

  • Aug 4th, 2005
 

We can move from one jsp page to other by using forword method.

  Was this answer useful?  Yes

PChal

  • Aug 11th, 2005
 

 
A Jsp can either "redirect "or "dispatch " to another JSP. 
// use this if you just want to invoke another  
//JSP 
response.sendRedirect("Jsp URL"); 
 
 
// use this if you want to pass info from one 
// jsp to another jsp 
 
RequestDispatcher dispatch = request.getRequestDispatcher("The Jsp File Name"); 
 
dispatch.forward(request, response); 

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account


 
Send   Reset

 

Related Answered Questions

 

Related Open Questions