• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help for the below sample code

 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


What this.getParameter( request, AD_OMMAND) executes/stands for/refers to ?
 
Phillipe Rodrigues
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry the sample program is as :

<%@ page language="java" session="true" %>
<%
String pageCommand = null;
final String AD_OMMAND = new String("addname");
else if (this.getParameter( request, AD_OMMAND) != null)
pageCommand = AD_OMMAND;

%>


What this.getParameter( request, AD_OMMAND) executes/stands for/refers to ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like someone's defined a method named getParameter in that JSP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!