A method for establishing generalized variational principle is proposed in this paper. It is based on the analysis of mechanical meaning and it can be applied to problems in which the variational principles are needed but no corresponding variational principle is available. In this paper, the Hu-Washizu's generalized variational principle and the Hu's generalized principle of complementary energy are derived from the mechanical meaning instead of from the generalization of the principle of minimum potenlial energy and the correct proofs of these two generaleed variational principles are given. It is also proved that this is wrong if one beleives that σij, eij and ui are independent variables each other based on the reason that these three kinds of variables are all contained in these two generalized variational principles. The condition of using these two variational principles in a correct manner is also explained.