I have many jsp pages, each returning things according to its code. However, I have another page that needs the same data, but in one form. So I thought I could get the data by running each of the other pages separately and retrieve the results, instead of having all the code on one page. This is what I mean:
time.jsp displays only the time ip.jsp displays the next available ip updateip.jsp > gets the date and the next available ip. This is where I was thinking; instead of replecating time.jsp and ip.jsp functions in updateip.jsp, why not ask time.jsp for the time and ip.jsp for the ip as needed?