Two former students of a Jewish school in Melbourne have been wounded while fighting for the Israeli army in Gaza.

Sam Gosling and Daniel Wein, both 22, are recovering from recent injuries sustained during the conflict between Israel and Hamas that has lasted almost four weeks.

Sam Gosling and his father Anthony.

The combat soldiers are former students of Leibler Yavneh College in Elsternwick, and are believed to have been a year level apart. Both are reportedly expected to recover.

Mr Gosling, who left Caulfield for Israel last year, was hit by shrapnel from a missile in late July.