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
what is mean by hasing and maping in java platform and advantage?
How is hashset maintained in memory by java ?
What are maps interfaces in the java collections? : java collections
What is the difference between comparable and comparator in java.util pkg?
What are the types of java collections? : java collections
What are the different types of ways where you can iterate over a list? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What is an algorithm in java collection framework? : java collections
What is the use of the list interface in the java collection? : java collections
Which interface does java.util.hashtable implement?
Should we create system software ( e.g operating system ) in java ?
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
What is the use of hashcode in java ?
please mail me the interview question based on java/j2ee
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.