Manish Singh
Manish Singh

Reputation: 310

Spring MVC JSP page reload

In my spring mvc application,I am facing a problem of page reloading on every request.Is there any way to restrict that.To be more specific,When I return the name of index.jsp page from controller it will obviously reload the page.How Can I restrict that thing in the index.jsp page.Suppose some part of the page is required to interact with Database and it should be shown on the same index.jsp page as well.How I can achieve this requirement without reloading the index.jsp page completely.Could you please provide me some example for that.

Upvotes: 0

Views: 1304

Answers (1)

gipinani
gipinani

Reputation: 14408

If I have understand correctly you want to update some parts of your page in asynk way.

You have to use ajax. Take a look on the web. There are so many frameworks that could simplify your life.. one is jquery for example

Upvotes: 1

Related Questions