jsp - spring mvc- form submit back button -
i have simple jsp form (page1.jsp)that allows user come in bunch of textboxes. submit button posts form , displays page2 on page2- there tab called page1- on clicking tab, user should able view page1 info entered, can edit ,if chooses to.
i have controller set first part page1- page2, working correctly. not sure how implement sec part page2 ->page 1. unable show filled out form previous page.
i not proficient in spring mvc , appreciate guidance.
thanks
you can using 2 approaches . if wish utilize @modelattribute
annotation , spring:form
tags. can utilize form backing alternative remember values in page.
or can them in native session handling .put info session , retrieve them when go prev page
hope helps !
spring jsp model-view-controller submit
No comments:
Post a Comment