In this note, page 25, the 4-th item of the section "Properties of Weak Topologies" states that
For every net $\{x_\alpha\}_{\alpha\in I}\subset X$, by a theorem in the section on locally convex subsets, we have $\{x_\alpha\}_{\alpha\in I}$ weakly converges to $x$ iff for every $f\in X^*$, $f(x_\alpha)\to f(x)$.
I think I can prove it readily: by the very definition of the weak topology on $X$, it makes each $f\in X^*$ continuous; then just note the convergence of the corresponding nets is just an equivalent characterisation of a continuous map between any topological spaces.
One thing I do not understand very well, however, is why one would have to consider nets instead of just sequences. For what I know, the weak topology is still a vector topology on $X$ (see for example Theorem 3.10, Functional Analysis, W.Rudin), and any vector topology is Hausdorff and the toplogy on the scalar field is, of course, too good to allow any pathological properties, therefore the continuity of a map from $X_w$ (denoting $X$ topologised by the weak topology) to the scalar field should be characterised by the Heine property: namely, if $x_n\to x$ weakly then $f(x_n)\to f(x)$. So I do not see a reason to introduce nets here. Am I missing anything crucial?
Thanks to Economist's answer which spotted that the problem is even in Hausdorff spaces sequential continuity need not imply canonical continuity, and the key condition to make the implication true is the first countability instead of Hausdorff-ness.