You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shamdasani Nimmi-ANS004 <Ni...@email.mot.com> on 2000/10/31 18:47:31 UTC

Does Struts allow update of the indexed properties?

Hi All,

I have a bean  userOrderListBean with a property 'getOrderList' which is a list of 'Order' Bean. I would like to show 10 rows at a time from GetOrderList to the user on a JSP and allow them to update the information.

How does one update the indexed properties using Struts? And does userOrderListBean  have to implement ValidatingActionForm?

If someone has an example I would really appreciate it.

Thanks in advance.

-Nimmi


Re: Struts and Resin

Posted by shankar <la...@svw.com>.
Hey Martin,

I did try that out, but when I try evoking the example it tries to download
it and the entire file(junk) is displayed in my browser. Did I miss anything
in my conf file?
Thanks,
Shankar
----- Original Message -----
From: <ma...@tumbleweed.com>
To: <st...@jakarta.apache.org>
Sent: Wednesday, November 01, 2000 12:36 AM
Subject: Re: Struts and Resin


> All you should need to do is:
>
> 1) Copy the .war files to your resin\doc directory
> 2) Add a line to your resin.conf for each webapp that looks like this:
>
>     <web-app id='/struts-example' app-dir='struts-example.war'/>
>
> This has worked for me for several versions of Resin and Struts.
>
> --
> Martin Cooper
> Tumbleweed Communications
>
>
> At 11:56 PM 10/31/00 +0530, shankar wrote:
> >Hi,
> >I'm having a prob getting struts up on resin. I could'nt even get the doc
up
> >properly. Tinkering with the conf file did'nt get me anywhere. The .war
> >files are not extracted automatically as in tomcat. Where should they be
> >placed and is it any different from tomcat. Could someone give me a few
> >guidelines please?
> >
> >Thanks ,
> >Shankar
>
> --
> Martin Cooper
> Tumbleweed Communications
>


Re: Struts and Resin

Posted by ma...@tumbleweed.com.
All you should need to do is:

1) Copy the .war files to your resin\doc directory
2) Add a line to your resin.conf for each webapp that looks like this:

    <web-app id='/struts-example' app-dir='struts-example.war'/>

This has worked for me for several versions of Resin and Struts.

--
Martin Cooper
Tumbleweed Communications


At 11:56 PM 10/31/00 +0530, shankar wrote:
>Hi,
>I'm having a prob getting struts up on resin. I could'nt even get the doc up
>properly. Tinkering with the conf file did'nt get me anywhere. The .war
>files are not extracted automatically as in tomcat. Where should they be
>placed and is it any different from tomcat. Could someone give me a few
>guidelines please?
>
>Thanks ,
>Shankar

--
Martin Cooper
Tumbleweed Communications



Struts and Resin

Posted by shankar <la...@svw.com>.
Hi,
I'm having a prob getting struts up on resin. I could'nt even get the doc up
properly. Tinkering with the conf file did'nt get me anywhere. The .war
files are not extracted automatically as in tomcat. Where should they be
placed and is it any different from tomcat. Could someone give me a few
guidelines please?

Thanks ,
Shankar