Hi,

I am a newbie in struts,

I have to populate a dropdown using html:options. I have to use a collection of beans. 
This collection should be stored in my Action Form.

I have a collection of CountryBeans named as collectionCountry. In my action class I 
am writing

request.setAttribute("countryList",collectionCountry);

In my jsp I am writing
<html:options collection="countryList" property ="countryID" 
LabelProperty="countryName" type="CountryBean"/>

Now I want to Store this collection in my ActionForm and get it in the jsp. what 
changes do I need to do to implement the same


Can you please suggest me some way of doing this


Thanks for any help in advance

Regards

Anant Parnami




-----Original Message-----
From: Manuel Lenz [mailto:[EMAIL PROTECTED]

Sent: Tuesday, February 17, 2004 1:49 PM
To: Struts Users Mailing List
Subject: No Action is executed







Hi to all,
my struts-webApplication is used by almost 80 people.
After 1-2 weeks my application doesn´t react anymore,
if I do call an ActionClass which will connect to an oracle database.

So I guess I do have a problem with the database connection.
My database config shows that:
            <data-source>
                  <set-property property="driverClass" 
value="oracle.jdbc.driver.OracleDriver"/>
                  <set-property property="url" 
value="jdbc:oracle:thin:@hostname:1521:tablespace"/>
                  <set-property property="maxCount" value="20"/>
                  <set-property property="minCount" value="1"/>
                  <set-property property="user" value="test"/>
                  <set-property property="password" value="test"/>
            </data-source>


I do work with normal statements and with prepared statements. I guess there might by 
to much opened result sets, statements and database connection. But our 
serverAdministrator says, that there are only 5 unused database connections left. Max 
value is 20.

Does anybody have an idea?

Greetings, Manuel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice


The information contained in this electronic message and any attachments to this 
message are intended for the exclusive use of the addressee(s) and may contain 
confidential or privileged information. If you are not the intended recipient, please 
notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of 
this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Confidentiality Notice

The information contained in this electronic message and any attachments to this 
message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged 
information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to