To advance Java programming educations, Java Programming Learning Assistant System (JPLAS) has been developed and used in universities in Japan and Myanmar. JPLAS offers several types of programming exercises to cover different learning levels, including the element fill-in-blank problem (EFP) and the code completion problem (CCP). In CCP, an incomplete source code made by removing some elements is given to a student, and its completion is requested by filling in the missing elements properly. The answer is marked by comparing each statement with the corresponding one in the original code. In contrast to EFP, CCP does not show the locations of missing elements. In the trial, CCP has been implemented on offline JPLAS. Data exchange between a teacher and students in a Java programming course is made using USB memories, which takes large loads. In this paper, we implement CCP on the Web server for online JPLAS by extending the implementation of EFP. As well, the evaluations have confirmed the effectiveness of this implementation.