The definition of the integral I was given (which after searching around seems like the common definition) is the value of the inf{upper sums across all dissections} (integral exists when this coincides with the sup{lower sums across all dissections}).
Now, when I searched online of how to do the integral in question, all solutions said: partition $[0,a]$ into strips of equal width $(1/N)$ and then let $N$ tend to infinity to get a limit $L$ etc.
But surely this doesn't cover all the possible dissections and also can't be a refinement of some dissections (e.g. if a is rational and I have a dissection with an irrational point $x$ in it then any dissection given in the above way can never have $x$ as a point in it). So why should $L$ be the value of the integral? Yet, I don't know how else to approach this.
Help greatly appreciated!