Hi:

 

In my jsp if I have 

 

<TD><html:text property='topping(pepperoni)'/></TD>

 

And in my form if I have 

 

      public String getTopping(String t1)

      {

            return t1;

      }

      public void setTopping(String t1,String value)

      {

      }

 

Then it works fine, but If I want to pass another parameter then it says
that no getter method found. How can I pass multiple variables in
property like the way I am doing below.

 

<TD><html:text property='topping(pepperoni,pepperoni2)'/></TD>

 

And in form

 

      public String getTopping(String t1, String t2)

      {

            return "t1";

      }

      public void setTopping(String t1,String t2,String value)

      {

      }

 

Thanks in Advance. The reason I want to do is that I want to store this
in a multilevel hashtable in my setTopping method(I have not shown the
code here). But I was just wonder that is it possible?

 

Thanks

 

Sincerely,

 

Shrihas

 

 

Shrihas Shah
NYS Office for Technology
[EMAIL PROTECTED]
Phone (518) 408-2382
Fax (518) 473-3389
(US Postal Service Regular Mail Address)
State Capitol ESP, PO Box 2062
Albany, NY 12220-0062
(Parcel Post/Overnight and Interagency Mail Address)
Empire State Plaza
Swan St., Core 4, 1st Floor
Albany, NY 12223

 

Reply via email to