Hello I am having problems displaying a webpage using getresourseasstream.
I know how to serve images, and other types of files, but what I really want to do is serve an entire webpage, complete with images when a user is logged on.
The images are under my WEB-INF folder so only authenticated users may access the images within the webpage, ONLY if it is served to them (my guess is using getresourceasstream as well). So is there any way to do this?
Or is there some other approach, where I create a context and somehow attribute the image and html to each other?
Simply restated, I want to serve my protected webpage (complete with images), which are both stored under WEB-INF.
I have only seen solutions where single files are streamed, none with webpages with images.