You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by mi...@marine.alstom.com on 2001/07/02 16:06:52 UTC

How to use struts with WEBSPHERE

Hello!

I try to use struts with WEBSPHERE 3.5.3.
I would like to know the directories I must create and the files they must
contain.

Thanks.

MIKAEL



Re: Logic:Iterate in html:option

Posted by Rama Krishna <kr...@hotmail.com>.
hi michael,

the follwing works for me.

<bean:define id="myCollection" name="formBean" property="records" />
      <html:select name="formBean" property="xxx">
            <html:options collection="myCollection" property="value" />
      </html:select>

i have a getValue() method in my formbean. where xxx is a setXXX method
which will have the selected item and records is a collection

hope this helps
rama.


----- Original Message -----
From: "Michael Skariah" <ms...@anshinsoft.com>
To: <st...@jakarta.apache.org>
Sent: Tuesday, July 03, 2001 1:17 PM
Subject: Logic:Iterate in html:option


> Hello all,
> I am trying to fill up an option value in a JSP file using the bean:write
> tag.
> Below is the code. I have the values present for the property and do not
get
> any errors, but string written to the option is empty ("").
> Could anyone tell me if something else has to be done.
> Thanks in advance,
> Michael.
>
> ------------------------------------------------
> <html:select property="selectedValue" value="">
> <html:option value=""></html:option>
> <logic:iterate id="item" name="list">
> <html:option value="<bean:write name='item' property='accountNo'/> ">
> </html:option>
> </logic:iterate>
> </html:select>
> ------------------------------------------------
>
>

Logic:Iterate in html:option

Posted by Michael Skariah <ms...@anshinsoft.com>.
Hello all,
I am trying to fill up an option value in a JSP file using the bean:write
tag.
Below is the code. I have the values present for the property and do not get
any errors, but string written to the option is empty ("").
Could anyone tell me if something else has to be done.
Thanks in advance,
Michael.

------------------------------------------------
<html:select property="selectedValue" value="">
<html:option value=""></html:option>
<logic:iterate id="item" name="list">
<html:option value="<bean:write name='item' property='accountNo'/> ">
</html:option>
</logic:iterate>
</html:select>
------------------------------------------------


Re: How to use struts with WEBSPHERE

Posted by Dan Miser <dm...@wi.rr.com>.
Take a look at this link:
www.distribucon.com/struts/WASInstall.htm
--
Dan Miser
http://www.distribucon.com

----- Original Message -----
From: <mi...@marine.alstom.com>
To: <st...@jakarta.apache.org>
Sent: Monday, July 02, 2001 9:06 AM
Subject: How to use struts with WEBSPHERE


> I try to use struts with WEBSPHERE 3.5.3.
> I would like to know the directories I must create and the files they must
> contain.