I have a JSP that is basically a form. Now, I want the form to be pre populated with data from an XML file. For this I'm creating a servlet that will read the XML file and save the values in a Java bean object. And this bean object will be used to fill in the values of the form fields in the JSP. Now my problem is, before I load the JSP this servlet has to be run. How can I implement this in my code?
No comments:
Post a Comment