getResource to pint webapp