Rochas [mailto:[EMAIL PROTECTED]
Sent: Friday, April 30, 2004 11:40 AM
To: Struts Users Mailing List
Subject: Re: Drop down population question
Hello Abhi,
> I am sorry, which one is the storeToBean and storeToProperty with
> reference to my example?
I can't say, cause your example sh
Hello Abhi,
I am sorry, which one is the storeToBean and storeToProperty with
reference to my example?
I can't say, cause your example show me only the code in the JSP.
Think about where do you want to store the object selected in your
option. I assume it is in a bean in which you'll store the
-Original Message-
From: Samuel Rochas [mailto:[EMAIL PROTECTED]
Sent: Friday, April 30, 2004 11:12 AM
To: Struts Users Mailing List
Subject: Re: Drop down population question
Hello Abhi,
> request.setAttribute("lstCountry", v)
So the bean with you list is "
Hello Abhi,
request.setAttribute("lstCountry", v)
So the bean with you list is "lstCountry".
JSP:
Explanation:
-storeTo is the bean where to store the result
-storeToProperty is the property of the bean storeTo where to store the
result
-lstCountry: your bean with the collect
Sorry, this is the exception I get:
javax.servlet.ServletException: Cannot find bean c in any scope
> -Original Message-
> From: Basu, Abhijit (Abhi)
> Sent: Friday, April 30, 2004 9:58 AM
> To: '[EMAIL PROTECTED]'
> Subject: Drop down populati
I am new to Struts and am having problems populating drop-downs from the
database. I am actually getting a little frustrated with these tags, seems
like
no coding in java anymore. :)
1. ActionClass code excerpt:
mBean.makeConnection();
//get country list vector
6 matches
Mail list logo