Conditional processing using parameters
Posted on 2003-03-04
This has to be one of the simplest questions around!
I am completely new to Java and am attempting to manipulate some free source code.
I am trying to implement some basic logic like this:
theString = getParameter("theString")
if (theString == "aValuePassedIn") // perform next step
else // perform alternative step
Once compiled, the script never seems to make a match with the parameter value. I have tried strings, empty strings and integers, to no avail.