2143 Now he encourages them to act with the confidence he has given them: first, he reminds them of what they lacked in the past; secondly, he encourages them to advance in the future, ask.
2144 What they lacked in the past was not asking; thus he says, Hitherto you have asked nothing in my name. But this seems to conflict with Luke (9:1) where it says that Christ gave the twelve "power and authority over all demons and to cure diseases"; and the same in Matthew (10:1). Now they did these things by praying. Therefore, they did ask something in the name of Christ, especially because the discip...les said: "Lord, even the demons are subject to us in your name" (Lk 10:17).
We must say, then, that this can be explained in two ways. First, Hitherto you have asked nothing, that is nothing great, in my name. For to ask for cures for the body is a small matter compared to the great things they would accomplish by their prayers; nor had they yet received the Spirit of adoption to make them aspire to spiritual and heavenly things. And if you object that they did ask for something great when they asked before, "Lord, show us the Father" (14:8), I answer that they were not asking the Father (which is what Christ is talking about here), but only Christ as man, trusting that as a mediator he would show them the Father.
Another explanation: if you ask anything of the Father in my name. Up to now they had not asked in his name because they did not have a complete knowledge of the name of Christ.
2145 When he says, ask, and you will receive, he is urging them to make progress, that is, they are now to ask: "Ask, and it will be given you" (Mt 7:7). Ask, I say, and you will receive, that is, what you are asking for, that your joy may be full: "The seventy returned with joy, saying, 'Lord, even the demons are subject to us in your name'" (Lk 10:17). The phrase that your joy may be full can be taken to indicate the reason why their prayers are heard. Or, it can point to what they are praying for, so the meaning is: ask, and you will receive, and what you should ask for is that your joy may be full.
2146 Note that the object of joy is a good that is desired. Since desire is a kind of movement toward a good, and joy is rest in that good, a person has joy when he rests in a good, now possessed, to which his desire was moved. And one's joy is proportionate to the good possessed. There cannot be full joy in a created good because it does not give complete rest to man's desires and yearnings. Our joy will be full when we possess that good in which all the goods we can desire are found superabundantly. This good is solely God "who satisfies our desire with good things" (Ps 103:5). Therefore he says, ask this, that your joy may be full, that is, ask to enjoy God and the Trinity, as Augustine says, and no joy is greater: "You will fill me with joy with your face" (Ps 16:11). And why is this? Because "all good things came to me along with her," that is, with the contemplation of divine wisdom (Wis 7:11).
Source: Commentary on John