RE: architecture of composite action forms

2005-08-07 Thread Rivka Shisman
Hi Adam Do you have an example of using 'nested beans'. How does the ActionForm look like - specifically the validate() method? Thanks Rivka >Rivka Shisman on 30/06/05 13:30, wrote: >>I have a transfer object called FatherTO that contains a collection of >>ChildTO's. >> > >Sounds like you shou

Re: help on plugin and i18n

2005-08-07 Thread Kjersti Berg
On 05/08/05, peeths @struts <[EMAIL PROTECTED]> wrote: > hi , > > i have added > but still i'm getting the same error , i 've placed the resource files > inside WEB-INF folder , how can i recover it . > Is it in the classes folder? It has to be on the webapps classpath. Kjersti > regards > An

Re: Login with authentication from database

2005-08-07 Thread Gary VanMatre
I have seen this done in webshpere 5.x application server where you can create a custom security provider that acts as a stand-in for your J2EE security provider. This custom provider can authenticate principals, groups and users in groups to any data source. Sorry, can't speak for tomcat. Ga

Re: Login with authentication from database

2005-08-07 Thread Laurie Harper
I haven't used container managed security very much but I think the way you'd do that is to set up multiple security realms in Tomcat (one per application or one per database) and then configure your security constraints in the web.xml for each application. Your Tomcat books should have more de

Re: Login with authentication from database

2005-08-07 Thread C.F. Scheidecker Antunes
Thanks Laurie! I have quite a few Struts and Tomcat books. What I wonder is exactly where to set up JAAS. That's because I might have more than one app in the same Tomcat5 server. So I wonder if for each database/application I could configure JAAS separately, that is can I do it only within on

Re: Login with authentication from database

2005-08-07 Thread Laurie Harper
C.F. Scheidecker Antunes wrote: I am learning my ways through Struts having done Servlets and JSPs before. In order to have authentication functionalities with my Servlets I used to have a user table and a roles table. Once the user logs in he/she would be authenticated with the user name, pass

Re: Login with authentication from database

2005-08-07 Thread Daniel Schaller
Hi, look in the documention of your Web Container how to configure JAAS. Most of the container, such as Jetty, come with a JDBC JAAS Login module ready to use. Cheers, Daniel On 7 Aug 2005, at 22:53, C.F. Scheidecker Antunes wrote: Hello all, I am learning my ways through Struts having

Login with authentication from database

2005-08-07 Thread C.F. Scheidecker Antunes
Hello all, I am learning my ways through Struts having done Servlets and JSPs before. In order to have authentication functionalities with my Servlets I used to have a user table and a roles table. Once the user logs in he/she would be authenticated with the user name, password through Tomcat

Re: Forwarding to a global Forward

2005-08-07 Thread Daniel Schaller
Hello Geeta and Frank, Thanks for you quick responses. @Frank: The space of the ? was just a type when I was writing the mail. @Geeta: You're right, I could forward directly from within my Action class. However, if I am doing so, then I have to hard code the Forward's name. Of course, I cou

Re: {Spam?} Forwarding to a global Forward

2005-08-07 Thread GRamani
Hi Daniel: Why do you even bother defining the "default" forward for your action? Why not simply (in your Action class) forward to "AddUser" - the global forward that you have defined already?.Is there something else you are trying to achieve? Regards, Geeta Daniel Schaller <[EMAIL PRO

Re: Forwarding to a global Forward

2005-08-07 Thread Frank W. Zammetti
Hi Danial, Are you getting a 404 because the FORWARD isn't found or because the PATH isn't found? I notice you have a space between ? and "operation", and I'd be willing to bet that's what's causing the problem. Whether it is or not, is there a specific reason you aren't just returning the

Forwarding to a global Forward

2005-08-07 Thread Daniel Schaller
Hi, I have a global forward In one of my actions, I would like to forward to "AddUser" like: rather than using the entire path defintion "/ManageUsersEdit.do? operation=add". However, if I do so, I get a 404 error, page or path not found. Any ideas? Or is it simple not possible

Re: [SATURDAY] *sigh*

2005-08-07 Thread Martin Gainty
Leon- like George Costanza said: "if I apply myself I can get it for free" Thanks, Martin Gainty (mobile) 617-852-7822 (http)www.laconiadatasystems.com From: "Leon Rosenberg" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "'Struts Users Mailing List'" Subject: Re: [SATURD

RE: [OT] Web application for software distribution

2005-08-07 Thread Martin Gainty
Hello Ashish Take a look at HiDownload http://www.streamingstar.com/hidownload.htm Let me know how you make out, Martin Gainty (mobile) 617-852-7822 (http)www.laconiadatasystems.com Hi We have a developed a inhouse web application for internal clients, these internal clients are at vario

[OT] Web application for software distribution

2005-08-07 Thread Ashish Kulkarni
Hi We have a developed a inhouse web application for internal clients, these internal clients are at various locations in USA. I need a web application to deliver this developed web application war file, and jar files. So basically some thing like apache website, to deliver software to internal cl

Re: [SATURDAY] *sigh*

2005-08-07 Thread Leon Rosenberg
I hope the invoice was at least high enough! :-) Leon > -Ursprüngliche Nachricht- > Von: Martin Gainty [mailto:[EMAIL PROTECTED] > Gesendet: Sonntag, 7. August 2005 17:08 > An: user@struts.apache.org > Betreff: Re: [SATURDAY] *sigh* > > Ditto > > Gentlemen- > > I have just spent Satu

Re: [SATURDAY] *sigh*

2005-08-07 Thread Martin Gainty
Ditto Gentlemen- I have just spent Saturday and Sunday generating 1 invoice. 5 years ago EVERY microsoft product that shipped had sample invoices that you could use in Word or Excel. I would like to find the *&^% product manager that replaced Business Invoices (which everyone uses everyday) wi