| Author |
Please Explain the below statement
|
Goutam reddy
Greenhorn
Joined: Jan 22, 2012
Posts: 6
|
|
Can any one explain whats happening in the below statement.
If it needs additional info please let me know
String forwardTo = FormsContext.HTTPServletRequest().getParameter(getPpage());
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50693
|
|
The FormsContext class is not part of servlets. It is either a class defined by your project, or by some 3rd part library that your project is using.
Without any context I can only guess that it's some weird way to obtain a reference to an instance of the request in order to obtain a parameter value.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Seetharaman Venkatasamy
Bartender
Joined: Jan 28, 2008
Posts: 4503
|
|
Welcome to JavaRanch Goutam reddy
|
Not everything that counts can be counted, and not everything that can be counted counts-Albert Einstein
|
 |
Vishal Hegde
Ranch Hand
Joined: Aug 01, 2009
Posts: 811
|
|
getParameter("some string value") method is used to get some string value from a text box, label option button etc...
|
http://www.lifesbizzare.blogspot.com || OCJP:81%
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 50693
|
|
Vishal Hegde wrote:getParameter("some string value") method is used to get some string value from a text box, label option button etc...
Only indirectly. The methods fetched request parameters which are sometimes the result of form submissions, but need not be.
|
 |
 |
|
|
subject: Please Explain the below statement
|
|
|