Re: logic tag

2004-12-10 Thread Sunny
Pramod wrote: I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result? If the bean has a Collection say "collection" , you can do note: you should have a getter method for "collection" in the "bean", for e.g. getCollection() --

logic tag

2004-12-10 Thread Pramod
I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result?

Validator upgrade?

2004-12-10 Thread Mick.Knutson
with the new struts 1.2.4 upgrade, I started to change all the to but find that my custom validators are not being found. 1. Is there a doc on upgrading the validator? 2. Anyone ever heard of this happening? Here is my validator: ==

Re: Nested form validation

2004-12-10 Thread Ben
Thanks, I am doing just that. Just a quick question, how do I use the property name as the error key in the validate() method? I have this but it uses the form name as the key, not the name of the property currently validating. public ActionErrors validate(ActionMapping mapping, HttpServletReque

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows
> -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:36 PM > To: Struts Users Mailing List > Subject: Re: [OT - Friday]Corporate Stupidity > > > I have to count myself as personally very lucky. I have actually > never had a company do a

Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
I have to count myself as personally very lucky. I have actually never had a company do anything really objectionable to me. I have had very good luck, and remain a friend and even a close friend to the people I have worked for in IT and in other areas. I hope you did not suffer over this, Jim

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows
> -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:03 PM > To: Struts Users Mailing List > Subject: Re: [OT - Friday]Corporate Stupidity > > > Does the company want to do defense contracting? Bush was re-elected. > This will speed up

Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
Incredible! Jack On Fri, 10 Dec 2004 15:10:06 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > > > -Original Message- > > From: David G. Friedman [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 10, 2004 2:56 PM > > To: Struts Users Mailing List > > Subject: RE: [OT - Frid

Key for "org.apache.struts.taglib.bean.LocalStrings"?

2004-12-10 Thread Dakota Jack
Is there a constant key for "org.apache.struts.taglib.bean.LocalStrings"? Thanks. Jack -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~

Re: OT: Syntax checker

2004-12-10 Thread Laconia Data Systems
Been there ...Done that End of content means you have mismatched StartOfJava,EndofJava tags here is an example This is your title <% import java.io.*; WOOPS forgot ending tag%> Martin- - Original Message - From: "Bryce Fischer" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[E

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread David G. Friedman
> Hah! > What makes you think a computer technician > wrote that? No, in fact, this was a classic > top-down approach to petty minutia. I've worked with far to many computer "professionals" who were unable to put even the most simple of thoughts into a well written paragraph. Then again, I'm on

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
> > So the stupidest thing they did was what? > > a) Make you WRITE that? (kidding) Well, I don't work for that company anymore, but yeah, writing the site was basically wasteful. > > b) Upgraded you with illiterate computer technicians like > > the ones who wrote that paragraph? Hah! What ma

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows
> -Original Message- > From: David G. Friedman [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 2:56 PM > To: Struts Users Mailing List > Subject: RE: [OT - Friday]Corporate Stupidity > > > Oooh, oooh (makes Horshack sound) > > So the stupidest thing they did was what? > a)

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Barnett, Brian W.
Probably when my CEO tried for week to get me to stay at the company instead of taking another opportunity. I spent about 2 hours a day for week in his office as he explained why I should stay, comparing the opportunities, my future, my pay, benefits, etc. After additional research and a lot of th

Re: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Dakota Jack
Does the company want to do defense contracting? Bush was re-elected. This will speed up, I think. The old shallow analysis of "Well, I am innocent of everything and I don't mind it" answer will become the word of the day soon, I predict. There might be a business reason to do this. Jack On

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread Durham David R Jr Contr 805 CSPTS/SCE
> so what's the stupidest thing a company has ever done to YOU? Read the last paragraph on this page: http://www.techdoctors.com/custom.htm - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: [OT - Friday]Corporate Stupidity

2004-12-10 Thread David G. Friedman
Oooh, oooh (makes Horshack sound) So the stupidest thing they did was what? a) Make you WRITE that? (kidding) b) Upgraded you with illiterate computer technicians like the ones who wrote that paragraph? The stupidest thing they ever did to me was, when I asked for more to do, gave me NOTHING so I

Re: Opinions on Struts Layout

2004-12-10 Thread Hubert Rabago
Oh, you mean THAT link. Yeah, maybe it can. Or at least to the section that points to the list of available archives. I once started on the main struts page and tried to find the page that explained how to contribute patches, and got thoroughly lost. Sure I know how to find a lot more stuff now

RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Yeah, but there's a link in the navigation menu right on the main page at http://struts.apache.org that points to that other unsearchable archive. To get to the link that you're talking about required at least three page views. I can't be the only person who would opt to take the path of least re

[OT - Friday]Corporate Stupidity

2004-12-10 Thread Jim Barrows
Just found out that the 800lb brass monkeys have decided that it's a good idea to do full background and checks on all their employees. Which has got to be the dumbest thing ever been done to me as a contractor or employee... so what's the stupidest thing a company has ever done to YOU? --

RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Ahhh... Perhaps the link for the list archives on the struts project page should point to this URL! Thanks! B. > -Original Message- > From: David G. Friedman [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 3:52 PM > To: Struts Users Mailing List > Subject: RE: Opinions on S

RE: Opinions on Struts Layout

2004-12-10 Thread David G. Friedman
Try the search key "struts-layout" at his archive: http://marc.theaimsgroup.com/?l=struts-user I just performed that search and numerous results show up for that "word". Regards, David -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 3:49

Re: Opinions on Struts Layout

2004-12-10 Thread Hubert Rabago
It already does. It's the third option on http://struts.apache.org/mail.html H On Fri, 10 Dec 2004 15:53:19 -0500, Brantley Hobbs <[EMAIL PROTECTED]> wrote: > Ahhh... > > Perhaps the link for the list archives on the struts project page should > point to this URL! > > > > Thanks! > > B. >

RE: Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Thanks for the tip about the spelling. I did some googling, but didn't really see too much information about struts-layout as compared to some of the other technologies, which is really what I'm after. Also, does anyone know of a way to search the lists? Every time I use the search page (http://

Re: Opinions on Struts Layout

2004-12-10 Thread Dakota Jack
Look under struts-layout. The results of googling for struts-layout are somewhat surprising and you might want to do that too. Naming is so important. Why Struts Layout went with struts-layout is a mystery to me. Wrong side of the brain problem, I guess. Jack On Fri, 10 Dec 2004 12:41:50 -08

Re: Opinions on Struts Layout

2004-12-10 Thread Dakota Jack
If you look at the Struts dev an user lists, Brantley, you will find quite a bit on this too. Jack On Fri, 10 Dec 2004 13:03:59 -0500, Brantley Hobbs <[EMAIL PROTECTED]> wrote: > Hi all! > > When our organization was making the decision between .NET and J2EE, we > were really struck by how powe

RE: Opinions on Struts Layout

2004-12-10 Thread David G. Friedman
Derek, If you made a list of bullet points for the parts of struts layout you like most, perhaps we listmembers could point you in the direction of native Struts parts or equivalent add-ons. Regards, David -Original Message- From: Derek Broughton [mailto:[EMAIL PROTECTED] Sent: Friday, D

Re: Opinions on Struts Layout

2004-12-10 Thread Derek Broughton
On Friday 10 December 2004 14:03, Brantley Hobbs wrote: > > Well, I ran across Struts Layout > (http://struts.application-servers.com/index.html). Perhaps I've been > living under a rock for a while, but it was something that I'd never > heard of before, and it seems to offer exactly what we longe

Re: [OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Hubert Rabago
On Fri, 10 Dec 2004 09:30:49 -0800, Craig McClanahan <[EMAIL PROTECTED]> wrote: > * I want to be able to define "alias" elements for commands that are used > a lot, so I don't have to specify the FQCN on every one of them. For > example, > the following element (from the unit tests): >

RE: Opinions on Struts Layout

2004-12-10 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic > Sent: Friday, December 10, 2004 12:46 PM > To: [EMAIL PROTECTED] > Subject: Re: Opinions on Struts Layout > > > Brantley Hobbs wrote: > > >Hi all! > > > >When our organization was making the decision between .N

Re: Opinions on Struts Layout

2004-12-10 Thread Vic
Brantley Hobbs wrote: Hi all! When our organization was making the decision between .NET and J2EE, we were really struck by how powerful MS's idea of web forms were. The ability to drag/drop web controls onto a page is very attractive, simply because our developers were hired to develop; not gener

Re: OT: Syntax checker

2004-12-10 Thread Bryce Fischer
Since JSP is XML, why not load it up in an XML editor. It should complain and show you where the problem is. Apte, Dhanashree (Noblestar) wrote: Sorry for the deviation, but is there an easy way to find out what exactly is causing org.apache.jasper.compiler.ParseException: End of content reached

RE: Syntax checker

2004-12-10 Thread Slattery, Tim - BLS
> Sorry for the deviation, but is there an easy way to find out > what exactly is causing > org.apache.jasper.compiler.ParseException: End of content > reached while more parsing required: tag nesting error? error > on a jsp? Maybe run it through some tool which points out the > problematic ta

Opinions on Struts Layout

2004-12-10 Thread Brantley Hobbs
Hi all! When our organization was making the decision between .NET and J2EE, we were really struck by how powerful MS's idea of web forms were. The ability to drag/drop web controls onto a page is very attractive, simply because our developers were hired to develop; not generate HTML (as I'm sure

Re: [OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Craig McClanahan
Here's an informal description of what that ruleset is about. Informally, we want to be able to parse things like: ... ... ... ... With a few extra wrinkles: * I want to be able to substitute the names of

Re: Controller Form not forwarding to Action

2004-12-10 Thread Jim Douglas
Martin, I was using an old example which is referenced extensively in documentation. Ths solution was to chage "perform" to "execute" in the ActionForward method in the LoginAction example. Thanks, Jim From: "Laconia Data Systems" <[EMAIL PROTECTED]> Reply-To: "Laconia Data Systems" <[EMAIL P

RE: Controller Form not forwarding to Action

2004-12-10 Thread Jim Douglas
That was it exactly, Thanks, Jim From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: RE: Controller Form not forwarding to Action Date: Thu, 9 Dec 2004 17:52:16 -0500 Jim, Since the ActionForm is working but you're getting

RE: More generic cookie question

2004-12-10 Thread Jim Barrows
> -Original Message- > From: Nagiel, Shahak (Mission Systems) [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 09, 2004 11:33 AM > To: [EMAIL PROTECTED] > Subject: More generic cookie question > > > We have a customized login/authentication scheme in our site, > using an extended S

RE: Struts or straight HTML button for action w/ no assoc. form?

2004-12-10 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Jeff Beal > Sent: Thursday, December 09, 2004 2:42 PM > To: [EMAIL PROTECTED] > Subject: Re: Struts or straight HTML button for action w/ no assoc. > form? > > > [EMAIL PROTECTED] wrote: > > > > > > >

OT: Syntax checker

2004-12-10 Thread Apte, Dhanashree (Noblestar)
Sorry for the deviation, but is there an easy way to find out what exactly is causing org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error? error on a jsp? Maybe run it through some tool which points out the problematic tag? Thanks! Dha

Alternative Presentation Layers

2004-12-10 Thread Jerry Jalenak
Starting a major rewrite of one of our client facing webapps, along with a significant change to the underlying production system that feeds the webapp. One of the changes is that I know have the option of receiving well-formed XML documents instead of big, ugly result sets. So, I started looki

Alternative Presentation Layers

2004-12-10 Thread Jerry Jalenak
Starting a major rewrite of one of our client facing webapps, along with a significant change to the underlying production system that feeds the webapp. One of the changes is that I know have the option of receiving well-formed XML documents instead of big, ugly result sets. So, I started looki

[Friday] SF Bay Area DJ Dream Team Voting

2004-12-10 Thread Mick.Knutson
I hope this is appropriate for Friday postings.But the Struts 1.2.4 upgrade has kicked me hard, now that I am done, I can focus on my favorite past time... House Music! Just wanted to request that anyone in the SF Bay Area, willing to donate just a couple of minutes of your time, to Vote fo

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Joe, Thanks a lot. I will plan on implementing the chain after a bit more due dilligence. btw, I agree on making a seperate jar for the set of commands which provide legacy support. Thanks. -Julian --- Joe Germuska <[EMAIL PROTECTED]> wrote: > At 6:28 AM -0800 12/10/04, Julian wrote: > >Hi,

RE: Problem with validation (?)

2004-12-10 Thread Jim Barrows
> -Original Message- > From: aris [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 09, 2004 11:23 AM > To: Struts Users Mailing List > Subject: Re: Problem with validation (?) > > > From: "Wendy Smoak" <[EMAIL PROTECTED]> > > > From: "aris" <[EMAIL PROTECTED]> > > I use the debug

[OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Pilgrim, Peter
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > > Also in jakarta news > > http://jakarta.apache.org/site/news/news-2004-2ndHalf.html > > and its listed in the "Releases" section on the Commons Chain site: > > http://jakarta.apache.org/commons/chain/ > ===

RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > > > http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801 > > - Original Message - > From: "Pilgrim, Peter" <[EMAIL PROTECTED]> > > > Where does it say Common Chain is now released at V1.0 > >

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Niall Pemberton
Also in jakarta news http://jakarta.apache.org/site/news/news-2004-2ndHalf.html and its listed in the "Releases" section on the Commons Chain site: http://jakarta.apache.org/commons/chain/ Niall - Original Message - From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Niall Pemberton
http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801 - Original Message - From: "Pilgrim, Peter" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, December 10, 2004 4:34 PM Subject: RE: Common Chain 1.0 and Struts Chain > Where does it sa

RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA

2004-12-10 Thread Pilgrim, Peter
Hello I will be in the area of Leicester Square for 6:30PM I think. I will be in the pub "The Trafalgar?" which is next door to the Odean Leicester Square and to left of the Capital Radio. If you arrive early you can meet me there before going to the restaurant. -- Peter Pilgrim Operations/I

RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter
Where does it say Common Chain is now released at V1.0 -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, 10 South Colonnade, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 > -Original Message- > From: Julian [mailto:[EMAIL PROTECTED] > Sent: 10 December 2004 14:29

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Dakota Jack
I'm really looking forward to this. Big jump forward, I think. Jack On Fri, 10 Dec 2004 08:54:30 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 6:28 AM -0800 12/10/04, Julian wrote: > >Hi, > > > >I was wondering if the release of Commons Chain 1.0 > >will enable a "Best Available" release

Re: LookupDispatchAction issue

2004-12-10 Thread Dakota Jack
Since this is at issue, I would suggest that you not use LookupDispatchAction at all. It is clever but too convoluted. There are better solutions. See http://www.michaelmcgrady.com/button/ and http://www.michaelmcgrady.com/button/jsp/button_talk.jsp . As always, I recommend DispatchUtil in the

Re: Nested form validation

2004-12-10 Thread Hubert Rabago
I would think so, but you'd have to call Validator yourself. Take a look at how the ValidatorForm#validate() calls it, and base your nested.validate() code on that. After the call, append the errors from your main form and those in your nested form. On Fri, 10 Dec 2004 10:41:36 +1100, Ben <[EMAI

RE: LookupDispatchAction issue

2004-12-10 Thread Vadim Petrenko
I would suggest not doing it like that, define a hidden property instead, otherwise one day when you decide to debug your page and add method="get" to the form tag (attribute, not parameter) you'd be surprised that it doesn't work. Also with this construction you can quite elegantly a

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Vic
Afaik Struts v1.3 will have request processor based on Chain. Future versions may have Action be chain - like. .V Julian wrote: Hi, I was wondering if the release of Commons Chain 1.0 will enable a "Best Available" release of Struts with struts-chain? If not, how stable is the COR stuff in Struts?

Re: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Joe Germuska
At 6:28 AM -0800 12/10/04, Julian wrote: Hi, I was wondering if the release of Commons Chain 1.0 will enable a "Best Available" release of Struts with struts-chain? If not, how stable is the COR stuff in Struts? The struts-chain was working just fine against pre-1.0 releases of Struts Chain. If

Re: [STRUTS] Issues switching context paths

2004-12-10 Thread Chad Lauritsen (Struts User)
In the struts-config.xml, you still leave things as /appEntryPoint, and the same holds true for custom tags e.g. The struts controller and the taglibs will take /appEntryPoint, find matching actions, and translate into /ice/appEntryPoint.do for you. Keep in mind that if you don't use the custo

RE: org.apache.commons.digester.Digester (ERROR) - Parse Error

2004-12-10 Thread Robert Taylor
Looks like your tiles configuration file may be hosed or your DTD and configuration file are out of sync. robert > -Original Message- > From: David McReynolds [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 9:50 AM > To: Struts User List > Subject: org.apache.commons.digester.

org.apache.commons.digester.Digester (ERROR) - Parse Error

2004-12-10 Thread David McReynolds
I am having a hard time figuring out which files struts is talking about in these errors that happen during startup. Everything runs fine. Here are a few stack trace snippets. I get multiples of these three. [App=LS][Dec-10 09:41:16:648] org.apache.commons.digester.Digester (ERROR) - Parse Error a

Re: Newbie question: listing files

2004-12-10 Thread Erik Weber
The way to do this is to create a link to an action that reads the bytes in from the file and writes the bytes out to the ServletResponse's OutputStream (unless the files are all, for example, text or HTML files that you can place directly within the server's public document root). So you are n

Common Chain 1.0 and Struts Chain

2004-12-10 Thread Julian
Hi, I was wondering if the release of Commons Chain 1.0 will enable a "Best Available" release of Struts with struts-chain? If not, how stable is the COR stuff in Struts? Thanks, Julian __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on yo

RE: Conditional forward to target page on form submittal

2004-12-10 Thread John McCosker
Hi, its a javascript and DOM task from what I'm reading. if its ie frames or iframes can be accessed by, document.frames[frameName].location.href = url; -Original Message- From: David Bolsover [mailto:[EMAIL PROTECTED] Sent: 10 December 2004 13:35 To: Struts Users Mailing List Subject: R

RE: LookupDispatchAction issue

2004-12-10 Thread andy wix
Hi, This is now fixed. It was because I didn't have a 'default' method specified in the form tag. I.e., Regards, andy _ It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger

RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Hi Joe I am beginning to think you are right - care to offer some sample javascript?? db -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: 09 December 2004 21:19 To: David Bolsover; [EMAIL PROTECTED] Subject: Re: Conditional forward to target page on form submittal

RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Hi Jack Yes I agree, the Action can easily determine which of several pages to present back to the user - my problem is that I need to present it back to a specific named target page - maybe even a new one - and not back to the original page used to submit the form. What I can't figure out is

RE: Conditional forward to target page on form submittal

2004-12-10 Thread David Bolsover
Martin Sorry perhaps I did not explain the issue well enough... The problem is that there is no code (at least not in the .jsp) to fill in 'sometarget'.. I do not know what the target should be until after I evaluate the submitted ActionForm. Others have suggested that I use javascript in a ta

LookupDispatchAction issue

2004-12-10 Thread andy wix
Hi, I am extending the above class and all submissions when the user clicks the relevant button work OK, but if the user presses enter (CR) on the keyboard to submit the form the following exception is thrown: StandardWrapperValve[action]: Servlet.service() for servlet action threw exception jav

Re: Problem with validation (?)

2004-12-10 Thread aris
From: "Derek Broughton" <[EMAIL PROTECTED]> > On Thursday 09 December 2004 14:28, Wendy Smoak wrote: > > From: "aris" <[EMAIL PROTECTED]> > > > > > > Use String (and occasionally Boolean) for form fields and things will > > > > work > > > > > > the way you need them to. > > > > > > I don't underst

Re: Problem with validation (?)

2004-12-10 Thread aris
From: "Wendy Smoak" <[EMAIL PROTECTED]> > From: "aris" <[EMAIL PROTECTED]> > > > > Use String (and occasionally Boolean) for form fields and things will > work > > > the way you need them to. > > > > I don't understand your answer... If I need an Integer field for my > > ActionForm derived class w

Re: Newbie question: listing files

2004-12-10 Thread Sunny
Brij Naald wrote: Hi, I want to list all the files in a directory. How do I start this? I assume I have to make an action: The action then creates an array of Strings (so String[]). and puts it in the request (so request.setAttribute("files",stringArray);) Then I have to make t

Re: Newbie question: listing files

2004-12-10 Thread Brij Naald
Thanks for your answer. If the approach i'm trying now doesn't work, I certainly going to try that one. But it almost works. The action gets called, and it puts the right names in the request. What I want to do now is to put in the JSP-page links to a page (viewfile) which shows the file in que

Re: Newbie question: listing files

2004-12-10 Thread Erik Weber
Brij Naald wrote: Hi, I want to list all the files in a directory. How do I start this? I assume I have to make an action: The action then creates an array of Strings (so String[]). and puts it in the request (so request.setAttribute("files",stringArray);) Then I have to make

Newbie question: listing files

2004-12-10 Thread Brij Naald
Hi, I want to list all the files in a directory. How do I start this? I assume I have to make an action: The action then creates an array of Strings (so String[]). and puts it in the request (so request.setAttribute("files",stringArray);) Then I have to make the jsp-page which u