Results 1 to 1 of 1
Thread: How to read the following
- 12-03-2007, 06:16 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 3
- Rep Power
- 0
How to read the following
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
Similar Threads
-
[SOLVED] read last line
By Azndaddy in forum New To JavaReplies: 22Last Post: 04-22-2012, 09:22 PM -
Is there a way to read a file directory
By willemjav in forum Java AppletsReplies: 3Last Post: 09-05-2011, 01:01 AM -
how to read a form with JFS
By crispy in forum JavaServer Faces (JSF)Replies: 2Last Post: 05-01-2008, 03:07 PM -
Read file
By tajinvillage in forum Threads and SynchronizationReplies: 0Last Post: 01-29-2008, 09:10 AM -
read txt file
By sureshsri1981 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-05-2007, 03:49 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks