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 / satya

If you want to refresh only xyz.jsp apart from the whole page then you should go for tiles frame work. In tiles, you have to seperate the header , footer, body, logo everything.so for every request that particular jsp only executed but not entire page. so better to do like this.

Header.jsp (comes under menu bar, logo, search like....)

body.jsp ( required information of that page)

footer.jsp ( copyright information , some other hyperlinks for next page like....)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

587


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

2561


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

568


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

546


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

569






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

589


what is mean by hasing and maping in java platform and advantage?

1827


What is the use of hashcode in java ?

573


What do you understand by synchronization? Why is it important?

567


Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com

2534


Should we create system software ( e.g operating system ) in java ?

574


How is hashset maintained in memory by java ?

588


Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.

1581


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

538


can u draw class/object diagram for ATM

5527