[MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Alex Birch
Hi, I can't find the answer to this anywhere but apologies if I missed something obvious I have the default ApplicationResources.properties in my web.xml in my action class, I've tried: MessageResources messages = getResources(request); // returns null MessageResources messages =

Re: [MessageResources] - in my Action: getResources(request) returns null

2002-10-03 Thread Alex Birch
is deprecated so I don't want to use that! Alex --- Thomas Eichberger [EMAIL PROTECTED] wrote: What's the name of the properties file? Let's say ApplicationResources.properties This file has to be placed in the web-inf/classes directory. At 08:10 03.10.2002 +0100, Alex Birch wrote: Hi

Action.getResources(request) not working

2002-10-03 Thread Alex Birch
Hi, I already asked this question earlier but I didn't get a correct answer... I have 1 ApplicationResources.properties file which I can happily access in my jsp page using the bean:message key=somekey/ but in any of my Actions when I try to go: MessageResources messages =

integrating a struts app authentication into Apache mod_auth

2002-08-21 Thread Alex Birch
Hi, I would like to integrate a struts application into a much wider web application which uses other technologies. One of the requirements is to integrate with their authentication (they use LDAP in Apache mod_auth) for their Portal. (we have Apache 1.3 and tomcat 4.0 to play with) Has

DAO - DTO business object to view beans

2002-08-20 Thread Alex Birch
Hi, I am building a medium size struts application (40-60 jsp pages) in a team. my question is to do with mapping business objects to view beans... By view beans I mean DTO (data transfer objects mentioned by Chuck Caveness in chapter 7 his upcoming O'Reilly struts book) If my understanding

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
Dan, that is a fantastic diagram (so much information so easily accessible in such a small place)! I have one question though to do with the ActionForm... Your colouring infers that there is one 'ActionForm per screen'. I know that an ActionForm instance is created (and filled with the form

Re: upload question

2002-08-20 Thread Alex Birch
I'm not sure if I understand you right, but is it because the upload example simply displays the contents of the files you upload directly to the browser (using out.print)? Because the image is a binary file it won't display nor would any other binary file... I haven't had any troubles

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
-Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 7:28 AM To: Struts Users Mailing List Subject: RE: Struts Community is going crazy! :-)) Dan, that is a fantastic diagram (so much information so easily accessible in such a small place)! I have

RE: Struts Community is going crazy! :-))

2002-08-20 Thread Alex Birch
you think this would clear up any confusion? Maybe operation instead of wizard. Thanks, Dan -Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 7:28 AM To: Struts Users Mailing List Subject: RE: Struts Community is going crazy

RE: Stupid email filters [WAS: DAO - DTO business object to view beans]

2002-08-20 Thread Alex Birch
. James -Original Message- From: Alex Birch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 9:18 AM To: [EMAIL PROTECTED] Subject: DAO - DTO business object to view beans Hi, I am building a medium size struts application (40-60 jsp pages) in a team. my

RE: Multiple file upload?

2002-08-19 Thread Alex Birch
hey... Other than the problem with struts and the same file-name... I need the same implementation for an application I'm writing. I wrote a prototype where you choose at run-time how many upload boxes you want on a form which will get set in an indexed property FormFile[]), then the struts

generating dynamic forms from XML at run-time (not initialisation time)

2002-08-15 Thread Alex Birch
Hi, I'm having difficulty working out how to do the following using struts: 3 separate pages: 1. question.jsp... asks how many text boxes on the next page and what the form name of each text box should be 2. dynamicForm.jsp... displays a form with the number of text boxes specified in