I have been doing a reasonable amount of Java recently and have picked up the following code snippet to use. It doesn't quite work as the version of JDK requires parameters for one of the methods.

What I would like help with is an explanation of what this line is doing. Not the actual detail from the methods but how it should be read in English.

i.e. method x passes a value to method y and the result is cast as ... something along those lines

Thanks in advance for any helpful answers. i am new on this forum but may well have a lot of input in the future :-)

String realPath = ((HttpServletRequest)pageContext.getRenderingConte xt().getServletRequest()).getSession().getServletC ontext().getRealPath("/alias");

regards

Robert