Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2007, 08:16 PM
rrp rrp is offline
Member
 
Join Date: Dec 2007
Posts: 1
rrp is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] read last line Azndaddy New To Java 18 10-07-2008 08:39 AM
how to read a form with JFS crispy JavaServer Faces 2 05-01-2008 05:07 PM
Is there a way to read a file directory willemjav Java Applets 2 04-17-2008 06:54 PM
Read file tajinvillage Threads and Synchronization 0 01-29-2008 11:10 AM
read txt file sureshsri1981 JavaServer Pages (JSP) and JSTL 0 08-05-2007 05:49 PM


All times are GMT +3. The time now is 04:09 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org