I have include a jsp page by using <jsp:include
page="/.../xyz.jsp"/>
The thing is that the xyz.jsp page has its submit
button.When i click on that button the whole main page get
refreshed.But i want to refresh only the xyz.jsp page.How
could i achive it so that i can only refresh the xyz.jsp not
the main page page?

Answer Posted / rajesh

This is possible by<jsp:forward page="/xyz.jsp"/>
forward is nothing but it will goes directly to next jsp page.
It will no look after the current JSP page

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I find jre path in windows?

523


What are the main classes of the list interfaces? : java collections

574


What are the different types of features of the java collections framework? : java collections

568


What are the classes in the java collection framework? : java collections

589


What are maps interfaces in the java collections? : java collections

569






please mail me the interview question based on java/j2ee

1530


What is the Spring2.5 MVC Navigation flow?

5365


What are the different types of classes implemented in the set interfaces? : java collections

602


What are the considerations to be made in case of loops in java ?

564


What is java collection? : java collections

577


What are the interfaces in java collections? : java collections

611


Which sorting algorithm is used by collections.sort() in java ?

545


What is the use of hashcode in java ?

573


What is the difference between comparable and comparator in java.util pkg?

587


What is deque in the java collections framework? : java collections

538