How we can include the result of another page in jsp?



How we can include the result of another page in jsp?..

Answer / Ravindra Kumar Gupta

To include the result of another page in JSP, you can use the `<jsp:include>` tag or the `<jsp:forward>` tag. The difference between them is that `<jsp:include>` executes the included JSP within the same request (and response), while `<jsp:forward>` transfers control and data to another servlet or JSP, which then generates its own response.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

List the various action tags used in jsp.

1 Answers  


What is the <jsp:include> standard action?

1 Answers  


How do I perform browser redirection from a jsp page?

1 Answers  


How do I view jsp files in my browser?

1 Answers  


How jsp is executed by web server?

1 Answers  


What is the page directive is used to prevent a jsp page from automatically creating a session?

1 Answers  


Are application, pageContext and object of ServletContext same or not?

2 Answers  


Why we use jsp instead of html?

1 Answers  


How do you comment out in jsp?

1 Answers  


How to send data from jsp to jsp?

1 Answers  


Why are the request.getrequestdispatcher() and context.getrequestdispatcher() used?

1 Answers  


Can you call jsp from servlet?

1 Answers  


Categories