I've been researching the capabilities of JSPs extensively, but have yet to find a clear answer to my specific problem.
Currently, I am developing a web application that utilizes a single JSP (with an imported CSS) to create a website with various functions. This application can read and write data to/from an external server, as well as update user content and information.
To maintain aesthetics and organization, it would be best to allocate separate sections of the site to each task individually. Instead of using page divisions and conditional statements to control visibility and execution, I plan to divide the logic behind the dynamic content and distribute it across multiple JSPs for more structured editing, testing, and code modifications by both a web developer and programmer, without requiring collaboration between them.
If all the necessary imports are included in the JSP files, are there any specific steps that need to be taken to ensure seamless sharing of content between these pages? For example, if a user writes data to the server and saves it as an entity on one JSP page, will querying the database still work if I move that code to another JSP and have the user access the persisted data through that page?
I appreciate your input!