It is common to want to do activities, or fundamental operations, in a sequence. In fact imperative programming is based around the idea that code is run in a specific sequence. As such we need to show sequencing in JSP. Below is a simple, if rather silly, example.

The diagram is read from left to right. In this case we place the dog in the bath, apply shampoo, scrub many times and then rinse. We could break each of these down further. A simple exercise is to think about what decisions might you need to make. For example what if the god struggles when you put him in the bath?