M
millerch
Silly question, but shouldn't MyInput be in quotes, e.g.
mybean.getCustomers("MyInput");
mybean.getCustomers("MyInput");
Assuming that you have used the myString variable to call setCustomers,Ian said:Hi,
Please forgive if wrong place to post but I'm not sure where is?
I have a jsp page which verifies OK (along with all other classes etc) with
the J2EE appServer until I make a call to a method in MyBean.java with the
following statement below, I am getting an error that says all jsps must be
compilable:
...
...
String myString = request.getParameter("MyInput"); //this
is OK
// but if I add this line into my jsp page:
<p>customers are <%= mybean.getCustomers(MyInput); %> // fails
in MyBean.java I have the following method:
public Collection getCustomers(String myString);
...
...
All my other method calls seem to work OK but I am not seeing what is wrong
Any help appreciated
regards
Eric
ps change the ZZ to au if direct reply thanks.
Hi,
Please forgive if wrong place to post but I'm not sure where is?
I have a jsp page which verifies OK (along with all other classes etc) with
the J2EE appServer until I make a call to a method in MyBean.java with the
following statement below, I am getting an error that says all jsps must be
compilable:
...
String myString = request.getParameter("MyInput"); //this
is OK
// but if I add this line into my jsp page:
<p>customers are <%= mybean.getCustomers(MyInput); %> // fails
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.