how to connect one jsp page to another jsp page????

Answer Posted / murali

we can forward a request from one jsp to anothe JSP in the
following ways:
1.include directive i.e <%@ include file="xxx.jsp" %>

2.jsp:include action tag i.e <jsp:include page="/xxx.jsp"%>

3.jsp:forward action tag i.e <jsp:forward page="/xxx.jsp"%>

Is This Answer Correct ?    85 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you declare the main method as final?

531


What is adapter in java?

521


What is the structure of java?

513


what is use of functional interface in java 8?

562


What is comparable and comparator interface? List their differences

583






Can a static class have a constructor?

526


What will be the initial value of an object reference which is defined as an instance variable?

647


Can list be final in java?

491


How do you start a thread?

556


How to set the permissions to a file in java?

542


Is hashset sorted in java?

670


Can a static method be final?

558


What does arrays sort do in java?

546


What is finally block?

570


Is boolean a data type in java?

523