I'm new to Java portlets, and am trying to get a handle on how these things work at a fairly basic level.
I'm confused now about how to have multiple "views" in my portlet. Let's say my portlet will be used for CRUD operations. For the sake of simplicity, I'm imagining that when a user first views the portlet they'll see a table with all of the records from the database. The user might then be able to click a record which will show a new page in the portlet containing a form for updating the record. Adding a record would work in much the same way. Nothing shocking here...
Where do I control how the user navigates between the different views, and where do I switch between the different actions that the user might perform (update, add, delete, etc)?
I've looked online and have found a ton of "hello world" portlet tutorials, which don't help much. I've found many other tutorials that are more advanced and geared towards what I'm doing, but they all seem to use some underlying framework like Struts, JSF, etc.
I'd like to know how to make this work using just a basic portlet using JSPs to render the views.